Click or drag to resize

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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
protected abstract bool TryGetValueForMember(
	T document,
	string memberName,
	out Object value
)

Parameters

document
Type: T
The document.
memberName
Type: SystemString
Name of the member.
value
Type: SystemObject
The value.

Return Value

Type: Boolean
true if the member should be serialized; otherwise false.
See Also