TimeSpanUnits Enumeration |
Represents the units a TimeSpan is serialized in.
Namespace:
MongoDB.Bson.Serialization.Options
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax public enum TimeSpanUnits
Public Enumeration TimeSpanUnits
Members
| Member name | Value | Description |
---|
| Ticks | 0 |
Use ticks as the units.
|
| Days | 1 |
Use days as the units.
|
| Hours | 2 |
Use hours as the units.
|
| Minutes | 3 |
Use minutes as the units.
|
| Seconds | 4 |
Use seconds as the units.
|
| Milliseconds | 5 |
Use milliseconds as the units.
|
| Microseconds | 6 |
Use microseconds as the units.
|
| Nanoseconds | 7 |
Use nanoseconds as the units.
|
See Also