Dela via


Property.CompareTo Method

Compares the Property object to another object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

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

Parameters

Return Value

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