DayTimeDuration.CompareTo MethodDayTimeDuration.CompareTo MethodDayTimeDuration::CompareTo Method
Compares this instance to a specified DayTimeDurationDayTimeDurationDayTimeDuration and returns an integer that
indicates whether the value of this instance is less than, equal to, or greater than the value of the
specified DayTimeDurationDayTimeDurationDayTimeDuration.
Syntax
Public Function CompareTo( _ other As DayTimeDuration _ ) As Integer
public int CompareTo( DayTimeDuration other )
public: virtual int CompareTo( DayTimeDuration other ) sealed
Parameters
Return Value
Type: System.Int32System.Int32System::Int32
A signed number that indicates the relative order of this instance and other. The return value has the following meanings.
- Less than zero indicates that this instance is less than other.
- Zero indicates that this instance is equal to other.
- Greater than zero indicates that this instance is greater than other.