The properties of the TimeSpan structure are listed below. For a complete list of TimeSpan structure members, see the TimeSpan Members topic.
Days | Retrieves the number of whole days represented by the current instance. |
Hours | Retrieves the number of whole hours represented by the current instance. |
Milliseconds | Retrieves the number of whole milliseconds represented by the current instance. |
Minutes | Retrieves the number of whole minutes represented by the current instance. |
Seconds | Retrieves the number of whole seconds represented by the current instance. |
Ticks | Retrieves the number of whole ticks represented by the current instance. |
TotalDays | Retrieves the total number of days represented by the current instance. |
TotalHours | Retrieves the number of whole hours represented by the current instance. |
TotalMilliseconds | Retrieves the number of whole milliseconds represented by the current instance. |
TotalMinutes | Retrieves the number of whole minutes represented by the current instance. |
TotalSeconds | Retrieves the number of whole seconds represented by the current instance. |