System.TimeSpan: Property Members

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

Public Properties

[read-only]
Daysint.

Gets the days component of the time interval represented by the current TimeSpan structure.

[read-only]
Hoursint.

Gets the hours component of the time interval represented by the current TimeSpan structure.

[read-only]
Millisecondsint.

Gets the milliseconds component of the time interval represented by the current TimeSpan structure.

[read-only]
Minutesint.

Gets the minutes component of the time interval represented by the current TimeSpan structure.

[read-only]
Secondsint.

Gets the seconds component of the time interval represented by the current TimeSpan structure.

[read-only]
Tickslong.

Gets the number of ticks that represent the value of the current TimeSpan structure.

[read-only]
TotalDaysdouble.

Gets the value of the current TimeSpan structure expressed in whole and fractional days.

[read-only]
TotalHoursdouble.

Gets the value of the current TimeSpan structure expressed in whole and fractional hours.

[read-only]
TotalMillisecondsdouble.

Gets the value of the current TimeSpan structure expressed in whole and fractional milliseconds.

[read-only]
TotalMinutesdouble.

Gets the value of the current TimeSpan structure expressed in whole and fractional minutes.

[read-only]
TotalSecondsdouble.

Gets the value of the current TimeSpan structure expressed in whole and fractional seconds.