SfcCollatedDictionaryCollection<T, K, ParentT>.IComparer<K>.Compare Method
Do not reference this member directly in your code. It supports the SQL Server infrastructure. Compares two keys.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Private Function Compare ( _
key1 As K, _
key2 As K _
) As Integer Implements IComparer(Of K).Compare
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.
Return Value
Type: System.Int32
A Int32 value.