Method TryGetValueForMember
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
TryGetValueForMember(ExpandoObject, string, out object)
Tries to get the value for a member. Returns true if the member should be serialized.
protected override bool TryGetValueForMember(ExpandoObject value, string memberName, out object memberValue)
Parameters
value
ExpandoObjectThe value.
memberName
stringName of the member.
memberValue
objectThe member value.
Returns
- bool
true
if the member should be serialized; otherwisefalse
.