Method TryGetValueForMember
- Namespace
 - MongoDB.Bson.Serialization.Serializers
 
- Assembly
 - MongoDB.Bson.dll
 
TryGetValueForMember(T, string, out object)
Tries to get the value for a member. Returns true if the member should be serialized.
protected abstract bool TryGetValueForMember(T document, string memberName, out object value)
Parameters
Returns
- bool
 trueif the member should be serialized; otherwisefalse.