ValueTuple<T1, T2>::CompareTo Method (ValueTuple<T1, T2>)
Compares the current ValueTuple<T1, T2> instance to a specified ValueTuple<T1, T2> instance.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- other
-
Type:
System::ValueTuple<T1, T2>
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).NET Framework
Available since 4.7
Available since 4.7
Show: