CompareTo 方法

Compares the Property object to another object.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function CompareTo ( _
    obj As Object _
) As Integer
用法
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

参数

返回值

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

示例

设置属性