Table of Contents

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 ExpandoObject

The value.

memberName string

Name of the member.

memberValue object

The member value.

Returns

bool

true if the member should be serialized; otherwise false.