dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleString Structure / CompareTo Method / CompareTo(OracleString) Method
The OracleString to be compared.

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

    Parameters

    other
    The OracleString to be compared.

    Return Value

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