Click or drag to resize

IBsonDocumentSerializer Interface

Contract for composite serializers that contain a number of named serializers.

Namespace:  MongoDB.Bson.Serialization
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
public interface IBsonDocumentSerializer : IBsonSerializer

The IBsonDocumentSerializer 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 methodTryGetMemberSerializationInfo
Tries to get the serialization info for a member.
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