Bewerken

Delen via


ValueTuple.IComparable.CompareTo(Object) Method

Definition

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

 virtual int System.IComparable.CompareTo(System::Object ^ other) = IComparable::CompareTo;
int IComparable.CompareTo (object other);
abstract member System.IComparable.CompareTo : obj -> int
override this.System.IComparable.CompareTo : obj -> int
Function CompareTo (other As Object) As Integer Implements IComparable.CompareTo

Parameters

other
Object

The object to compare with the current instance.

Returns

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

Implements

Exceptions

other is not a ValueTuple instance.

Applies to