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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
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