OracleBoolean.CompareTo(Object) Method

Definition

Compares this OracleBoolean structure to a specified object and returns an indication of their relative values.

C#
public int CompareTo(object obj);

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 obj.
Zero This instance is equal to obj.
A positive integer This instance is greater than obj, or obj 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

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1