BsonDateTimeSerializer Class |
Namespace: MongoDB.Bson.Serialization.Serializers
The BsonDateTimeSerializer type exposes the following members.
Name | Description | |
---|---|---|
BsonDateTimeSerializer |
Initializes a new instance of the BsonDateTimeSerializer class.
|
Name | Description | |
---|---|---|
Instance |
Gets an instance of the BsonDateTimeSerializer class.
| |
ValueType |
Gets the type of the values.
(Inherited from SerializerBaseTValue.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |