Partager via


Méthode CompareTo

Compares the property object to another object. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

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

Syntaxe

'Déclaration
Public Function CompareTo ( _
    obj As Object _
) As Integer
'Utilisation
Dim instance As SfcProperty
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

  • obj
    Type : System. . :: . .Object
    An Object value that specifies the object with which to compare the Property object.

Valeur de retour

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