The methods of System.TimeSpan are listed below. For a list of all members, see the TimeSpan Members list.
See Also: Inherited members from System.ValueType
Add(TimeSpan) : TimeSpan Adds the specified TimeSpan to the current instance. staticCompare(TimeSpan, TimeSpan) : int Returns the sort order of two TimeSpan structures.CompareTo(object) : int Returns the sort order of the current instance compared to the specified object.CompareTo(TimeSpan) : int Returns the sort order of the current instance compared to the specified TimeSpan.Duration() : TimeSpan Returns a TimeSpan whose value is the absolute value of the current instance. overrideEquals(object) : bool Determines whether the current instance and the specified object represent the same type and value.Equals(TimeSpan) : bool Determines whether the current instance and the specified TimeSpan represent the same value. staticEquals(TimeSpan, TimeSpan) : bool Determines whether two TimeSpan structures represent the same type and value. staticFromDays(double) : TimeSpan Returns a TimeSpan that represents the specified number of days where the specification is accurate to the nearest millisecond. staticFromHours(double) : TimeSpan Returns a TimeSpan that represents the specified number of hours where the specification is accurate to the nearest millisecond. staticFromMilliseconds(double) : TimeSpan Returns a TimeSpan that represents the specified number of milliseconds where the specification is accurate to the nearest millisecond. staticFromMinutes(double) : TimeSpan Returns a TimeSpan that represents the specified number of minutes where the specification is accurate to the nearest millisecond. staticFromSeconds(double) : TimeSpan Returns a TimeSpan that represents the specified number of seconds where the specification is accurate to the nearest millisecond. staticFromTicks(long) : TimeSpan Returns a TimeSpan that represents the specified number of ticks. overrideGetHashCode() : int Generates a hash code for the current instance.Negate() : TimeSpan Returns a TimeSpan with the same absolute value but opposite sign as the current instance. staticParse(string) : TimeSpan Returns the specified string converted to a TimeSpan value.Subtract(TimeSpan) : TimeSpan Subtracts the value of the specified TimeSpan from the value of the current instance. overrideToString() : string Returns a string representation of the value of the current instance. staticTryParse(string, out TimeSpan) : bool Documentation for this section has not yet been entered.