Click or drag to resize

BsonConstants Class

A static class containing BSON constants.
Inheritance Hierarchy
SystemObject
  MongoDB.BsonBsonConstants

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax
public static class BsonConstants

The BsonConstants type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberDateTimeMaxValueMillisecondsSinceEpoch
Gets the number of milliseconds since the Unix epoch for DateTime.MaxValue.
Public propertyStatic memberDateTimeMinValueMillisecondsSinceEpoch
Gets the number of milliseconds since the Unix epoch for DateTime.MinValue.
Public propertyStatic memberUnixEpoch
Gets the Unix Epoch for BSON DateTimes (1970-01-01).
Top
See Also