Export (0) Print
Expand All

OracleBoolean Structure

Represents the value returned from a database comparison operation between Oracle data types, and exposes methods used to perform data type conversions.

Namespace:  System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

public struct OracleBoolean : IComparable

The OracleBoolean type exposes the following members.

  NameDescription
Public methodOracleBoolean(Boolean)Initializes a new instance of the OracleBoolean structure using the specified Boolean.
Public methodOracleBoolean(Int32)Initializes a new instance of the OracleBoolean structure using the specified integer.
Top

  NameDescription
Public propertyIsFalseIndicates whether the current Value is False.
Public propertyIsNullIndicates whether or not the value of the OracleBoolean structure is null.
Public propertyIsTrueIndicates whether the current Value is True.
Public propertyValueGets the OracleBoolean structure's value. This property is read-only.
Top

  NameDescription
Public methodStatic memberAndComputes the bitwise AND of two specified OracleBoolean structures.
Public methodCompareToCompares this OracleBoolean structure to a specified object and returns an indication of their relative values.
Public methodEquals(Object)Compares the supplied object parameter to the OracleBoolean. (Overrides ValueType.Equals(Object).)
Public methodStatic memberEquals(OracleBoolean, OracleBoolean)Compares two OracleBoolean structures to determine if they are equal.
Public methodGetHashCodeReturns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberNotEqualsCompares two instances of OracleBoolean to determine if they are not equal.
Public methodStatic memberOnesComplementPerforms a ones complement operation on the supplied OracleBoolean structures.
Public methodStatic memberOrPerforms a bitwise OR operation on the two specified OracleBoolean structures.
Public methodStatic memberParseConverts the specified String representation of a logical value to its OracleBoolean equivalent.
Public methodToStringConverts the current Value to a string. (Overrides ValueType.ToString().)
Public methodStatic memberXorPerforms a bitwise exclusive-OR operation on the supplied parameters.
Top

  NameDescription
Public operatorStatic memberBitwiseAndComputes the bitwise AND of two specified OracleBoolean structures.
Public operatorStatic memberBitwiseOrComputes the bitwise OR of its two OracleBoolean operands.
Public operatorStatic memberEqualityCompares two instances of an OracleBoolean for equality.
Public operatorStatic memberExclusiveOrPerforms a bitwise exclusive-OR operation on the supplied OracleBoolean parameters.
Public operatorStatic memberExplicit(OracleBoolean to Boolean)Converts an OracleBoolean to a Boolean.
Public operatorStatic memberExplicit(OracleNumber to OracleBoolean)Converts the OracleNumber parameter to an OracleBoolean structure.
Public operatorStatic memberExplicit(String to OracleBoolean)Converts a string to an OracleBoolean structure.
Public operatorStatic memberFalseUsed to test the Value of the OracleBoolean to determine whether it is false.
Public operatorStatic memberImplicit(Boolean to OracleBoolean)Converts a Boolean value to an OracleBoolean.
Public operatorStatic memberInequalityCompares two instances of OracleBoolean for inequality.
Public operatorStatic memberLogicalNotPerforms a NOT operation on an OracleBoolean.
Public operatorStatic memberOnesComplementPerforms a one's complement operation on the specified OracleBoolean.
Public operatorStatic memberTrueUsed to test the Value of the OracleBoolean to determine whether it is true.
Top

  NameDescription
Public fieldStatic memberFalseRepresents a false value that can be assigned to the Value property of an instance of the OracleBoolean structure.
Public fieldStatic memberNullRepresents a null value that can be assigned to the Value property of an instance of the OracleBoolean structure.
Public fieldStatic memberOneRepresents a value of one that can be assigned to the Value property of an instance of the OracleBoolean structure.
Public fieldStatic memberTrueRepresents a true value that can be assigned to the Value property of an instance of the OracleBoolean structure.
Public fieldStatic memberZeroRepresents a value of zero that can be assigned to the Value property of an instance of the OracleBoolean structure.
Top

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft