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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
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