ReportSize.IComparable.CompareTo 方法
Compares the object to the specified size.
命名空間: Microsoft.ReportingServices.RdlObjectModel
組件: Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)
語法
'宣告
Private Function CompareTo ( _
value As Object _
) As Integer Implements IComparable.CompareTo
'用途
Dim instance As ReportSize
Dim value As Object
Dim returnValue As Integer
returnValue = CType(instance, IComparable).CompareTo(value)
int IComparable.CompareTo(
Object value
)
private:
virtual int CompareTo(
Object^ value
) sealed = IComparable::CompareTo
private abstract CompareTo :
value:Object -> int
private override CompareTo :
value:Object -> int
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- value
型別:System.Object
The object to compare.
傳回值
型別:System.Int32
The size of the object.