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

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

Parameters

other
The object to be compared.

Return Value

A signed number indicating the relative values of the current OracleString structure and the object.
Return Value Condition
Less than zero The value of the current OracleString object is less than the object.
Zero The current OracleString object is the same to the object.
Greater than zero The current OracleString object is greater than the object.
See Also