dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleTimeStamp Structure / CompareTo Method
The object to be compared.

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

    Parameters

    obj
    The object to be compared.

    Return Value

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