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.
    See Also