DynamicDocumentBaseSerializerTTryGetValueForMember Method |
Tries to get the value for a member. Returns true if the member should be serialized.
Namespace:
MongoDB.Bson.Serialization.Serializers
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax protected abstract bool TryGetValueForMember(
T document,
string memberName,
out Object value
)
Protected MustOverride Function TryGetValueForMember (
document As T,
memberName As String,
<OutAttribute> ByRef value As Object
) As Boolean
abstract TryGetValueForMember :
document : 'T *
memberName : string *
value : Object byref -> bool
Parameters
- document
- Type: T
The document. - memberName
- Type: SystemString
Name of the member. - value
- Type: SystemObject
The value.
Return Value
Type:
Booleantrue if the member should be serialized; otherwise
false.
See Also