Table of Contents

Method TryGetMemberSerializationInfo

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

TryGetMemberSerializationInfo(string, out BsonSerializationInfo)

Tries to get the serialization info for a member.

public bool TryGetMemberSerializationInfo(string memberName, out BsonSerializationInfo serializationInfo)

Parameters

memberName string

Name of the member.

serializationInfo BsonSerializationInfo

The serialization information.

Returns

bool

true if the serialization info exists; otherwise false.