CompareTo 方法

Compares the property object to another object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

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

语法

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

参数

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

返回值

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