UsTimeSpan Methods

CVB.Net Documentation

The UsTimeSpan type exposes the following members.

Methods

  NameDescription
Public methodAdd
Gets the sum of this and the given timeSpan.
Public methodCompareTo(Object)
Compares this instance to a specified object and returns an integer that indicates whether this instance is shorter than, equal to, or longer than the specified object.
Public methodCompareTo(UsTimeSpan)
Compares this instance to a specified object and returns an integer that indicates whether this instance is shorter than, equal to, or longer than the specified object.
Public methodDuration
Gets new UsTimeSpan whose value is the absolute value of this object.
Public methodEquals(Object)
Returns a value indicating whether this instance is equal to the given obj.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(UsTimeSpan)
Returns a value indicating whether this instance is equal to given other object.
Public methodStatic memberFromDays
Returns UsTimeSpan that represents a specified number of days.
Public methodStatic memberFromHours
Returns UsTimeSpan that represents a specified number of hours.
Public methodStatic memberFromMicroseconds
Returns UsTimeSpan that represents a specified number of microseconds.
Public methodStatic memberFromMilliseconds
Returns UsTimeSpan that represents a specified number of milliseconds.
Public methodStatic memberFromMinutes
Returns UsTimeSpan that represents a specified number of minutes.
Public methodStatic memberFromSeconds
Returns UsTimeSpan that represents a specified number of seconds.
Public methodStatic memberFromTicks
Returns UsTimeSpan that represents a specified number of ticks.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodNegate
Gets the same value of this object with a changed sign.
Public methodSubtract
Gets the difference of this and the given timeSpan.
Public methodToString
Returns the string representation of the value of this instance.
(Overrides ValueTypeToString.)
Top
See Also

Reference