ValueTuple.IStructuralComparable.CompareTo(Object, IComparer) Metodo

Definizione

Confronta l'istanza corrente ValueTuple con un oggetto specificato.

 virtual int System.Collections.IStructuralComparable.CompareTo(System::Object ^ other, System::Collections::IComparer ^ comparer) = System::Collections::IStructuralComparable::CompareTo;
int IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer);
abstract member System.Collections.IStructuralComparable.CompareTo : obj * System.Collections.IComparer -> int
override this.System.Collections.IStructuralComparable.CompareTo : obj * System.Collections.IComparer -> int
Function CompareTo (other As Object, comparer As IComparer) As Integer Implements IStructuralComparable.CompareTo

Parametri

other
Object

Oggetto da confrontare con l'istanza corrente.

comparer
IComparer

Oggetto che fornisce regole personalizzate per il confronto. Questo parametro viene ignorato.

Valori restituiti

Restituisce 0 se other è un'istanza ValueTuple e 1 se other è null.

Implementazioni

Eccezioni

other non è un'istanza ValueTuple di .

Si applica a