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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also