dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlGuid Class / CompareTo Method / CompareTo(Object) Method
An object to compare, or null reference (Nothing in Visual Basic).

In This Topic
    CompareTo(Object) Method
    In This Topic
    Compares this instance to a specified object and returns an indication of their relative values.
    Syntax
    'Declaration
     
    Public Overloads Function CompareTo( _
       ByVal obj As Object _
    ) As Integer
    public int CompareTo( 
       object obj
    )

    Parameters

    obj
    An object to compare, or null reference (Nothing in Visual Basic).

    Return Value

    A signed number indicating the relative values of this instance and value.

    Value Description
    A negative integer This instance is less than value.
    Zero This instance is equal to value.
    A positive integer This instance is greater than value.
    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