Enum TimeOnlyUnits
- Namespace
- MongoDB.Bson.Serialization.Options
- Assembly
- MongoDB.Bson.dll
Represents the units a TimeOnly is serialized in.
public enum TimeOnlyUnits
- Extension Methods
Fields
Ticks = 0Use ticks as the units.
Hours = 1Use hours as the units.
Minutes = 2Use minutes as the units.
Seconds = 3Use seconds as the units.
Milliseconds = 4Use milliseconds as the units.
Microseconds = 5Use microseconds as the units.
Nanoseconds = 6Use nanoseconds as the units.