Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ValueTuple::IComparable::CompareTo Method (Object^)

 

Compares this ValueTuple instance with a specified object and returns an indication of their relative values.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

private:
virtual int CompareTo(
	Object^ other
) sealed = IComparable::CompareTo

Parameters

other
Type: System::Object^

The object to compare with the current instance

Return Value

Type: System::Int32

0 if other is a ValueTuple instance; otherwise, 1 if other is null.

Exception Condition
ArgumentException

other is not a ValueTuple instance.

.NET Framework
Available since 4.7
Return to top
Show:
© 2017 Microsoft