Click or drag to resize

BsonDefaults Class

A static helper class containing BSON defaults.
Inheritance Hierarchy
SystemObject
  MongoDB.BsonBsonDefaults

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public static class BsonDefaults

The BsonDefaults type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberDynamicArraySerializer
Gets or sets the dynamic array serializer.
Public propertyStatic memberDynamicDocumentSerializer
Gets or sets the dynamic document serializer.
Public propertyStatic memberGuidRepresentation Obsolete.
Gets or sets the default representation to be used in serialization of Guids to the database.
Public propertyStatic memberGuidRepresentationMode Obsolete.
Gets or sets the default representation to be used in serialization of Guids to the database.
Public propertyStatic memberMaxDocumentSize
Gets or sets the default max document size. The default is 4MiB.
Public propertyStatic memberMaxSerializationDepth
Gets or sets the default max serialization depth (used to detect circular references during serialization). The default is 100.
Top
See Also