Langue

ValueTuple.IComparable.CompareTo(Object) Méthode

Définition

Compare cette ValueTuple instance à un objet spécifié et retourne une indication de leurs valeurs relatives.

 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

Paramètres

other
Object

Objet à comparer à l’instance actuelle.

Retours

0 s’il s’agit other d’une ValueTuple instance ; sinon, 1 si other c’est null.

Implémente

Exceptions

other n’est pas une ValueTuple instance.

S’applique à