OracleString.CompareTo(Object) Method

Definition

Compares this instance of OracleString to the supplied object and returns an indication of their relative values.

public:
 virtual int CompareTo(System::Object ^ obj);
public int CompareTo (object obj);
abstract member CompareTo : obj -> int
override this.CompareTo : obj -> int
Public Function CompareTo (obj As Object) As Integer

Parameters

obj
Object

The object to be compared.

Returns

A signed number indicating the relative values of the instance and the object.

Return Value Condition
Less than zero This instance is less than object.
Zero This instance is the same as object.
Greater than zero This instance is greater than object

-or-

object is a null reference (Nothing)

Implements

Applies to