ValueTuple::IStructuralComparable::CompareTo Method (Object^, IComparer^)
Compares the current ValueTuple instance to a specified object.
Assembly: mscorlib (in mscorlib.dll)
private: virtual int CompareTo( Object^ other, IComparer^ comparer ) sealed = IStructuralComparable::CompareTo
Parameters
- other
-
Type:
System::Object^
The object to compare with the current instance.
- comparer
-
Type:
System.Collections::IComparer^
An object that provides custom rules for comparison. This parameter is ignored.
| Exception | Condition |
|---|---|
| ArgumentException | other is not a ValueTuple instance. |
.NET Framework
Available since 4.7
Available since 4.7
Show: