dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlDecimal Structure / CompareTo Method / CompareTo(Object) Method
An object to compare with this instance.

In This Topic
    CompareTo(Object) Method
    In This Topic
    Compares the current instance with another object of the same type.
    Syntax
    'Declaration
     
    Public Overloads Function CompareTo( _
       ByVal obj As Object _
    ) As Integer
    public int CompareTo( 
       object obj
    )

    Parameters

    obj
    An object to compare with this instance.

    Return Value

    A 32-bit signed integer that indicates the relative order of the objects being compared. A negative integer means that the current instance is less than the object argument. Zero indicates that the objects are equal. A positive integer means that the current instance is greater than the object argument.
    See Also