Edit

Share via


OracleBoolean.CompareTo(Object) Method

Definition

Compares this OracleBoolean structure to a specified 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

An object to compare, or a null reference (Nothing in Visual Basic).

Returns

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

Value Description
A negative integer This instance is less than value.
Zero This instance is equal to value.
A positive integer This instance is greater than value, or value is a null reference (Nothing in Visual Basic).

Implements

Remarks

Any instance of OracleBoolean, regardless of its value, is considered greater than a null reference (Nothing in Visual Basic).

Applies to