Initializes a new instance of the System.TimeSpan structure to a specified number of hours, minutes, and seconds.
Gets the days component of the time interval represented by the current System.TimeSpan structure.
The day component of this instance. The return value can be positive or negative.
Gets the hours component of the time interval represented by the current System.TimeSpan structure.
The hour component of the current System.TimeSpan structure. The return value ranges from -23 through 23.
Gets the milliseconds component of the time interval represented by the current System.TimeSpan structure.
The millisecond component of the current System.TimeSpan structure. The return value ranges from -999 through 999.
Gets the minutes component of the time interval represented by the current System.TimeSpan structure.
The minute component of the current System.TimeSpan structure. The return value ranges from -59 through 59.
Gets the seconds component of the time interval represented by the current System.TimeSpan structure.
The second component of the current System.TimeSpan structure. The return value ranges from -59 through 59.
Gets the number of ticks that represent the value of the current System.TimeSpan structure.
The number of ticks contained in this instance.
Gets the value of the current System.TimeSpan structure expressed in whole and fractional days.
The total number of days represented by this instance.
Gets the value of the current System.TimeSpan structure expressed in whole and fractional hours.
The total number of hours represented by this instance.
Gets the value of the current System.TimeSpan structure expressed in whole and fractional milliseconds.
The total number of milliseconds represented by this instance.
Gets the value of the current System.TimeSpan structure expressed in whole and fractional minutes.
The total number of minutes represented by this instance.
Gets the value of the current System.TimeSpan structure expressed in whole and fractional seconds.
The total number of seconds represented by this instance.
Static
EqualsDetermines whether the specified object instances are considered equal.
The first object to compare.
The second object to compare.
true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.
Represents a time interval.