FacetInfo.IComparable.CompareTo Method

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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • other
    Type: System.Object
    The objects that need to be compared.

Return Value

Type: System.Int32
The objects to compare.

Implements

IComparable.CompareTo(Object)