Click or drag to resize

DictionarySerializerBaseTDictionary, TKey, TValueTryGetItemSerializationInfo Method

Tries to get the serialization info for the individual items of the array.

Namespace:  MongoDB.Bson.Serialization.Serializers
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
public bool TryGetItemSerializationInfo(
	out BsonSerializationInfo serializationInfo
)

Parameters

serializationInfo
Type: MongoDB.Bson.SerializationBsonSerializationInfo
The serialization information.

Return Value

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

Implements

IBsonArraySerializerTryGetItemSerializationInfo(BsonSerializationInfo)
See Also