TimeSpan Properties |
The TimeSpan type exposes the following members.
Name | Description | |
---|---|---|
Days | Gets the days component of the time interval represented by the current TimeSpan structure. | |
Hours | Gets the hours component of the time interval represented by the current TimeSpan structure. | |
Milliseconds | Gets the milliseconds component of the time interval represented by the current TimeSpan structure. | |
Minutes | Gets the minutes component of the time interval represented by the current TimeSpan structure. | |
Seconds | Gets the seconds component of the time interval represented by the current TimeSpan structure. | |
Ticks | Gets the number of ticks that represent the value of the current TimeSpan structure. | |
TotalDays | Gets the value of the current TimeSpan structure expressed in whole and fractional days. | |
TotalHours | Gets the value of the current TimeSpan structure expressed in whole and fractional hours. | |
TotalMilliseconds | Gets the value of the current TimeSpan structure expressed in whole and fractional milliseconds. | |
TotalMinutes | Gets the value of the current TimeSpan structure expressed in whole and fractional minutes. | |
TotalSeconds | Gets the value of the current TimeSpan structure expressed in whole and fractional seconds. |