Click or drag to resize

IBsonDocumentSerializerTryGetMemberSerializationInfo Method

Tries to get the serialization info for a member.

Namespace:  MongoDB.Bson.Serialization
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
bool TryGetMemberSerializationInfo(
	string memberName,
	out BsonSerializationInfo serializationInfo
)

Parameters

memberName
Type: SystemString
Name of the member.
serializationInfo
Type: MongoDB.Bson.SerializationBsonSerializationInfo
The serialization information.

Return Value

Type: Boolean
true if the serialization info exists; otherwise false.
See Also