dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlMacAddr Structure / CompareTo Method / CompareTo(Object) Method
An object value to compare with.

In This Topic
    CompareTo(Object) Method
    In This Topic
    Compares the current PgSqlMacAddr object to the specified object and returns an integer that represents their relative values.
    Syntax
    'Declaration
     
    Public Overloads Function CompareTo( _
       ByVal value As Object _
    ) As Integer
    public int CompareTo( 
       object value
    )

    Parameters

    value
    An object value to compare with.

    Return Value

    A signed number indicating the relative values of the current PgSqlMacAddr structure and the object.
    Return Value Condition
    Less than zero The value of the current PgSqlMacAddr is less than the argument.
    Zero The current PgSqlMacAddr is the same to the argument.
    Greater than zero The current PgSqlMacAddr is greater than the 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