ValueTuple<T1,T2,T3,T4>.CompareTo(ValueTuple<T1,T2,T3,T4>) 메서드
정의
현재 ValueTuple<T1,T2,T3,T4> 인스턴스를 지정된 ValueTuple<T1,T2,T3,T4> 인스턴스와 비교합니다.Compares the current ValueTuple<T1,T2,T3,T4> instance to a specified ValueTuple<T1,T2,T3,T4> instance.
public:
virtual int CompareTo(ValueTuple<T1, T2, T3, T4> other);
public int CompareTo ((T1,T2,T3,T4) other);
abstract member CompareTo : ValueTuple<'T1, 'T2, 'T3, 'T4> -> int
override this.CompareTo : ValueTuple<'T1, 'T2, 'T3, 'T4> -> int
Public Function CompareTo (other As ValueTuple(Of T1, T2, T3, T4)) As Integer
매개 변수
- other
- ValueTuple<T1,T2,T3,T4>
이 인스턴스와 비교할 튜플입니다.The tuple to compare with this instance.
반환
다음 표와 같이 정렬 순서에서 이 인스턴스와 other
의 상대적 위치를 나타내는 부호 있는 정수입니다.A signed integer that indicates the relative position of this instance and other
in the sort order, as shown in the following table.
값Value | 설명Description |
---|---|
음의 정수A negative integer | 이 인스턴스가 other 앞에 오는 경우This instance precedes other .
|
0Zero | 이 인스턴스와 other 의 위치가 정렬 순서에서 같은 경우This instance and other have the same position in the sort order.
|
양의 정수A positive integer | 이 인스턴스가 other 다음에 오는 경우This instance follows other .
|