ValueTuple.IStructuralComparable.CompareTo(Object, IComparer) 메서드

정의

현재 ValueTuple 인스턴스를 지정된 개체와 비교합니다.

 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

매개 변수

other
Object

현재 인스턴스와 비교할 개체입니다.

comparer
IComparer

비교를 위한 사용자 지정 규칙을 제공하는 개체입니다. 이 매개 변수는 무시됩니다.

반환

otherValueTuple 인스턴스이면 0을 반환하고 othernull이면 1을 반환합니다.

구현

예외

otherValueTuple 인스턴스가 아닙니다.

적용 대상