Click or drag to resize

TimeSpanUnits Enumeration

Represents the units a TimeSpan is serialized in.

Namespace:  MongoDB.Bson.Serialization.Options
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public enum TimeSpanUnits
Members
  Member nameValueDescription
Ticks0 Use ticks as the units.
Days1 Use days as the units.
Hours2 Use hours as the units.
Minutes3 Use minutes as the units.
Seconds4 Use seconds as the units.
Milliseconds5 Use milliseconds as the units.
Microseconds6 Use microseconds as the units.
Nanoseconds7 Use nanoseconds as the units.
See Also