Click or drag to resize

IBsonArraySerializer Interface

Contract for serializers to implement if they serialize an array of items.

Namespace:  MongoDB.Bson.Serialization
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public interface IBsonArraySerializer : IBsonSerializer

The IBsonArraySerializer type exposes the following members.

Properties
  NameDescription
Public propertyValueType
Gets the type of the value.
(Inherited from IBsonSerializer.)
Top
Methods
  NameDescription
Public methodDeserialize
Deserializes a value.
(Inherited from IBsonSerializer.)
Public methodSerialize
Serializes a value.
(Inherited from IBsonSerializer.)
Public methodTryGetItemSerializationInfo
Tries to get the serialization info for the individual items of the array.
Top
Extension Methods
  NameDescription
Public Extension MethodDeserialize
Deserializes a value.
(Defined by IBsonSerializerExtensions.)
Public Extension MethodSerialize
Serializes a value.
(Defined by IBsonSerializerExtensions.)
Public Extension MethodToBsonValue
Converts a value to a BsonValue by serializing it.
(Defined by IBsonSerializerExtensions.)
Top
See Also