Partager via


CompareTo méthode

Compares the Property object to another object.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function CompareTo ( _
    obj As Object _
) As Integer
'Utilisation
Dim instance As [Property]
Dim obj As Object
Dim returnValue As Integer

returnValue = instance.CompareTo(obj)
public int CompareTo(
    Object obj
)
public:
int CompareTo(
    Object^ obj
)
member CompareTo : 
        obj:Object -> int 
public function CompareTo(
    obj : Object
) : int

Paramètres

Valeur de retour

Type : System. . :: . .Int32
An Int32 value that describes the result of the comparison.