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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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