ValueTuple.IStructuralComparable.CompareTo(Object, IComparer) Yöntem

Tanım

Geçerli ValueTuple örneği belirtilen bir nesneyle karşılaştırır.

 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

Parametreler

other
Object

Geçerli örnekle karşılaştıracak nesne.

comparer
IComparer

Karşılaştırma için özel kurallar sağlayan nesne. Bu parametre yoksayıldı.

Döndürülenler

Örnekse otherValueTuple 0, ise 1 othernulldöndürür.

Uygulamalar

Özel durumlar

other bir ValueTuple örnek değildir.

Şunlara uygulanır