The properties of System.TimeSpan are listed below. For a list of all members, see the TimeSpan Members list.
See Also: Inherited members from System.ValueType
[read-only] | Days | int.
Gets the days component of the time interval represented by the current TimeSpan structure. |
[read-only] | Hours | int.
Gets the hours component of the time interval represented by the current TimeSpan structure. |
[read-only] | Milliseconds | int.
Gets the milliseconds component of the time interval represented by the current TimeSpan structure. |
[read-only] | Minutes | int.
Gets the minutes component of the time interval represented by the current TimeSpan structure. |
[read-only] | Seconds | int.
Gets the seconds component of the time interval represented by the current TimeSpan structure. |
[read-only] | Ticks | long.
Gets the number of ticks that represent the value of the current TimeSpan structure. |
[read-only] | TotalDays | double.
Gets the value of the current TimeSpan structure expressed in whole and fractional days. |
[read-only] | TotalHours | double.
Gets the value of the current TimeSpan structure expressed in whole and fractional hours. |
[read-only] | TotalMilliseconds | double.
Gets the value of the current TimeSpan structure expressed in whole and fractional milliseconds. |
[read-only] | TotalMinutes | double.
Gets the value of the current TimeSpan structure expressed in whole and fractional minutes. |
[read-only] | TotalSeconds | double.
Gets the value of the current TimeSpan structure expressed in whole and fractional seconds. |