OracleBoolean Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the value returned from a database comparison operation between Oracle data types, and exposes methods used to perform data type conversions.
public value class OracleBoolean : IComparable
public struct OracleBoolean : IComparable
type OracleBoolean = struct
Public Structure OracleBoolean
Implements IComparable
- Inheritance
- Implements
Remarks
The key difference between an OracleBoolean structure and a standard Boolean value is that, where a standard Boolean
has two possible values, true
and false
, an OracleBoolean structure has three possible values, True, False, or Null.
An OracleBoolean structure does not map to an Oracle Boolean
data type; it is exposed as a convenience support class.
Constructors
OracleBoolean(Boolean) |
Initializes a new instance of the OracleBoolean structure using the specified |
OracleBoolean(Int32) |
Initializes a new instance of the OracleBoolean structure using the specified integer. |
Fields
False |
Represents a false value that can be assigned to the Value property of an instance of the OracleBoolean structure. |
Null |
Represents a null value that can be assigned to the Value property of an instance of the OracleBoolean structure. |
One |
Represents a value of one that can be assigned to the Value property of an instance of the OracleBoolean structure. |
True |
Represents a true value that can be assigned to the Value property of an instance of the OracleBoolean structure. |
Zero |
Represents a value of zero that can be assigned to the Value property of an instance of the OracleBoolean structure. |
Properties
IsFalse | |
IsNull |
Indicates whether or not the value of the OracleBoolean structure is null. |
IsTrue | |
Value |
Gets the OracleBoolean structure's value. This property is read-only. |
Methods
And(OracleBoolean, OracleBoolean) |
Computes the bitwise AND of two specified OracleBoolean structures. |
CompareTo(Object) |
Compares this OracleBoolean structure to a specified object and returns an indication of their relative values. |
Equals(Object) |
Compares the supplied object parameter to the OracleBoolean. |
Equals(OracleBoolean, OracleBoolean) |
Compares two OracleBoolean structures to determine if they are equal. |
GetHashCode() |
Returns the hash code for this instance. |
NotEquals(OracleBoolean, OracleBoolean) |
Compares two instances of OracleBoolean to determine if they are not equal. |
OnesComplement(OracleBoolean) |
Performs a ones complement operation on the supplied OracleBoolean structures. |
Or(OracleBoolean, OracleBoolean) |
Performs a bitwise OR operation on the two specified OracleBoolean structures. |
Parse(String) |
Converts the specified String representation of a logical value to its OracleBoolean equivalent. |
ToString() |
Converts the current Value to a string. |
Xor(OracleBoolean, OracleBoolean) |
Performs a bitwise exclusive-OR operation on the supplied parameters. |