SfcCollatedDictionaryCollection<T, K, ParentT>.IComparer<K>.Compare 메서드

코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. Compares two keys.

네임스페이스:  Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리:  Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)

구문

‘선언
Private Function Compare ( _
    key1 As K, _
    key2 As K _
) As Integer Implements IComparer(Of K).Compare
‘사용 방법
Dim instance As SfcCollatedDictionaryCollection 
Dim key1 As K
Dim key2 As K
Dim returnValue As Integer 

returnValue = CType(instance, IComparer(Of K)).Compare(key1, _
    key2)
int IComparer<K>.Compare(
    K key1,
    K key2
)
private:
virtual int Compare(
    K key1, 
    K key2
) sealed = IComparer<K>::Compare
private abstract Compare : 
        key1:'K * 
        key2:'K -> int  
private override Compare : 
        key1:'K * 
        key2:'K -> int
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.

매개 변수

  • key1
    유형: K
    The first key to compare.
  • key2
    유형: K
    The second key to compare.

반환 값

유형: System.Int32
A Int32 value.

구현

IComparer<T>.Compare(T, T)

참고 항목

참조

SfcCollatedDictionaryCollection<T, K, ParentT> 클래스

Microsoft.SqlServer.Management.Sdk.Sfc 네임스페이스