Condividi tramite


Metodo IComparable.CompareTo

Compares the objects within the FacetInfo.

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
Private Function CompareTo ( _
    other As Object _
) As Integer Implements IComparable.CompareTo
'Utilizzo
Dim instance As FacetInfo
Dim other As Object
Dim returnValue As Integer

returnValue = CType(instance, IComparable).CompareTo(other)
int IComparable.CompareTo(
    Object other
)
private:
virtual int CompareTo(
    Object^ other
) sealed = IComparable::CompareTo
private abstract CompareTo : 
        other:Object -> int 
private override CompareTo : 
        other:Object -> int 
JScript supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Parametri

Valore restituito

Tipo: System. . :: . .Int32
The objects to compare.

Implementa

IComparable. . :: . .CompareTo(Object)