Sdílet prostřednictvím


ReportSize.IComparable.CompareTo Method

Compares the object to the specified size.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Private Function CompareTo ( _
    value As Object _
) As Integer Implements IComparable.CompareTo
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

Type: System.Int32
The size of the object.

Implements

IComparable.CompareTo(Object)

See Also

Reference

ReportSize Structure

Microsoft.ReportingServices.RdlObjectModel Namespace