Click or drag to resize

DowncastingSerializerTBase, TDerivedTryGetItemSerializationInfo 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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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