Constructor DateTimeSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
DateTimeSerializer()
Initializes a new instance of the Date
DateTimeSerializer(bool)
Initializes a new instance of the Date
Parameters
dateOnly
boolif set to
true
[date only].
DateTimeSerializer(bool, BsonType)
Initializes a new instance of the Date
Parameters
DateTimeSerializer(BsonType)
Initializes a new instance of the Date
Parameters
representation
BsonType The representation.
DateTimeSerializer(DateTimeKind)
Initializes a new instance of the Date
Parameters
kind
DateTime Kind The kind.
DateTimeSerializer(DateTimeKind, BsonType)
Initializes a new instance of the Date
Parameters
kind
DateTime Kind The kind.
representation
BsonType The representation.