TimeSpanSerializer Constructor (BsonType, TimeSpanUnits) |
Namespace: MongoDB.Bson.Serialization.SerializersAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.4.1
Syntax public TimeSpanSerializer(
BsonType representation,
TimeSpanUnits units
)
Public Sub New (
representation As BsonType,
units As TimeSpanUnits
)
new :
representation : BsonType *
units : TimeSpanUnits -> TimeSpanSerializer
Parameters
- representation
- Type: MongoDB.BsonBsonType
The representation. - units
- Type: MongoDB.Bson.Serialization.OptionsTimeSpanUnits
The units.
See Also