IComparable.CompareTo 方法
Compares the objects within the FacetInfo.
命名空間: 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 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- other
型別:System. . :: . .Object
The objects that need to be compared.
傳回值
型別:System. . :: . .Int32
The objects to compare.