Méthode IComparable.CompareTo

Compares the objects within the FacetInfo.

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Private Function CompareTo ( _
    other As Object _
) As Integer Implements IComparable.CompareTo
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.

Paramètres

Valeur de retour

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

Implémente

IComparable. . :: . .CompareTo(Object)