Freigeben über


IComparable.CompareTo-Methode

Compares the objects within the FacetInfo.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Private Function CompareTo ( _
    other As Object _
) As Integer Implements IComparable.CompareTo
'Usage
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Parameter

Rückgabewert

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

Implementiert

IComparable. . :: . .CompareTo(Object)