IComparable.CompareTo 方法

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

语法

声明
Private Function CompareTo ( _
    other As Object _
) As Integer Implements IComparable.CompareTo
用法
Dim instance As FacetInfo
Dim other As Object
Dim returnValue As Integer

returnValue = CType(instance, IComparable).CompareTo(other)
int IComparable.CompareTo(
    Object other
)
private:
virtual int CompareTo(
    Object^ other
) sealed = IComparable::CompareTo
private abstract CompareTo : 
        other:Object -> int 
private override CompareTo : 
        other:Object -> int 
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。

参数

返回值

类型:System. . :: . .Int32

实现

IComparable. . :: . .CompareTo(Object)