Mono Class Library: Overview

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 number days represented by the current instance.
[read-only]
Hoursint. Gets the number of hours represented by the current instance.
[read-only]
Millisecondsint. Gets the number of milliseconds represented by the current instance.
[read-only]
Minutesint. Gets the number of minutes represented by the current instance.
[read-only]
Secondsint. Gets the number of seconds represented by the current instance.
[read-only]
Tickslong. Gets the number of ticks represented by the current instance.
[read-only]
TotalDaysdouble. Gets the value of the current instance expressed in days.
[read-only]
TotalHoursdouble. Gets the value of the current instance expressed in hours.
[read-only]
TotalMillisecondsdouble. Gets the value of the current instance expressed in milliseconds.
[read-only]
TotalMinutesdouble. Gets the value of the current instance expressed in minutes.
[read-only]
TotalSecondsdouble. Gets the value of the current instance expressed in seconds.