Condividi tramite


Metodo CompareTo

Compares the property object to another object. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public Function CompareTo ( _
    obj As Object _
) As Integer
'Utilizzo
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

Parametri

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

Valore restituito

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