Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / CellPadding Class / CompareTo Method / CompareTo(Object) Method
An object to compare with this object.


In This Topic
    CompareTo(Object) Method
    In This Topic
    Compares the current CellPadding object with another object.
    Syntax
    'Declaration
     
    
    Public Overloads Function CompareTo( _
       ByVal obj As Object _
    ) As Integer
    'Usage
     
    
    Dim instance As CellPadding
    Dim obj As Object
    Dim value As Integer
     
    value = instance.CompareTo(obj)
    public int CompareTo( 
       object obj
    )

    Parameters

    obj
    An object to compare with this object.

    Return Value

    A value that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the other parameter.Zero This object is equal to other. Greater than zero This object is greater than other.
    See Also