ValueTuple<T1>::CompareTo Method (ValueTuple<T1>)
Compares the current ValueTuple<T1> instance to a specified ValueTuple<T1> instance.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- other
-
Type:
System::ValueTuple<T1>
The tuple to compare with this instance.
Return Value
Type: System::Int32A signed integer that indicates the relative position of this instance and other in the sort order, as shown in the following able.
Vaue | Description |
|---|---|
A negative integer | This instance precedes other. |
Zero | This instance and other have the same position in the sort order. |
A positive integer | This instance follows other. |
Implements
IComparable<T>::CompareTo(T)Available since 4.7