OracleBoolean OracleBoolean OracleBoolean OracleBoolean Struct

定义

表示在 Oracle 数据类型之间进行数据库比较操作所返回的值,并公开用于执行数据类型转换的方法。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
继承
OracleBooleanOracleBooleanOracleBooleanOracleBoolean
实现

注解

主要区别OracleBoolean结构和标准布尔值是的其中一种标准Boolean有两个可能的值,truefalseOracleBoolean结构具有三个可能的值, TrueFalse,或NullThe 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.

OracleBoolean结构不映射到 OracleBoolean数据类型; 它公开为一个方便的支持类。An OracleBoolean structure does not map to an Oracle Boolean data type; it is exposed as a convenience support class.

构造函数

OracleBoolean(Boolean) OracleBoolean(Boolean) OracleBoolean(Boolean) OracleBoolean(Boolean)

使用指定的 Boolean 初始化 OracleBoolean 结构的新实例。Initializes a new instance of the OracleBoolean structure using the specified Boolean.

OracleBoolean(Int32) OracleBoolean(Int32) OracleBoolean(Int32) OracleBoolean(Int32)

使用指定的整数初始化 OracleBoolean 结构的新实例。Initializes a new instance of the OracleBoolean structure using the specified integer.

字段

False False False False

表示可分配给 Value 结构实例的 OracleBoolean 属性的“假”值。Represents a false value that can be assigned to the Value property of an instance of the OracleBoolean structure.

Null Null Null Null

表示可分配给 Value 结构实例的 OracleBoolean 属性的 null 值。Represents a null value that can be assigned to the Value property of an instance of the OracleBoolean structure.

One One One One

表示可分配给 Value 结构实例的 OracleBoolean 属性的一个值。Represents a value of one that can be assigned to the Value property of an instance of the OracleBoolean structure.

True True True True

表示可分配给 Value 结构实例的 OracleBoolean 属性的“真”值。Represents a true value that can be assigned to the Value property of an instance of the OracleBoolean structure.

Zero Zero Zero Zero

表示可分配给 Value 结构实例的 OracleBoolean 属性的零值。Represents a value of zero that can be assigned to the Value property of an instance of the OracleBoolean structure.

属性

IsFalse IsFalse IsFalse IsFalse

指示当前 Value 是否为 FalseIndicates whether the current Value is False.

IsNull IsNull IsNull IsNull

指示 OracleBoolean 结构的值是否为 null。Indicates whether or not the value of the OracleBoolean structure is null.

IsTrue IsTrue IsTrue IsTrue

指示当前 Value 是否为 TrueIndicates whether the current Value is True.

Value Value Value Value

获取 OracleBoolean 结构的值。Gets the OracleBoolean structure's value. 此属性是只读的。This property is read-only.

方法

And(OracleBoolean, OracleBoolean) And(OracleBoolean, OracleBoolean) And(OracleBoolean, OracleBoolean) And(OracleBoolean, OracleBoolean)

对两个指定的 OracleBoolean 结构执行按位 AND 运算。Computes the bitwise AND of two specified OracleBoolean structures.

CompareTo(Object) CompareTo(Object) CompareTo(Object) CompareTo(Object)

将此 OracleBoolean 结构与指定对象进行比较,并返回它们的相对值指示。Compares this OracleBoolean structure to a specified object and returns an indication of their relative values.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

将提供的对象参数与 OracleBoolean 比较。Compares the supplied object parameter to the OracleBoolean.

Equals(OracleBoolean, OracleBoolean) Equals(OracleBoolean, OracleBoolean) Equals(OracleBoolean, OracleBoolean) Equals(OracleBoolean, OracleBoolean)

对两个 OracleBoolean 结构进行比较,以确定它们是否相等。Compares two OracleBoolean structures to determine if they are equal.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

返回此实例的哈希代码。Returns the hash code for this instance.

NotEquals(OracleBoolean, OracleBoolean) NotEquals(OracleBoolean, OracleBoolean) NotEquals(OracleBoolean, OracleBoolean) NotEquals(OracleBoolean, OracleBoolean)

OracleBoolean 的两个实例进行比较,确定它们是否不相等。Compares two instances of OracleBoolean to determine if they are not equal.

OnesComplement(OracleBoolean) OnesComplement(OracleBoolean) OnesComplement(OracleBoolean) OnesComplement(OracleBoolean)

在提供的 OracleBoolean 结构上执行对 one 的求补运算。Performs a ones complement operation on the supplied OracleBoolean structures.

Or(OracleBoolean, OracleBoolean) Or(OracleBoolean, OracleBoolean) Or(OracleBoolean, OracleBoolean) Or(OracleBoolean, OracleBoolean)

对两个指定的 OracleBoolean 结构执行按位“或”运算。Performs a bitwise OR operation on the two specified OracleBoolean structures.

Parse(String) Parse(String) Parse(String) Parse(String)

将逻辑值的指定 String 表示形式转换为它的等效 OracleBooleanConverts the specified String representation of a logical value to its OracleBoolean equivalent.

ToString() ToString() ToString() ToString()

将当前的 Value 转换为字符串。Converts the current Value to a string.

Xor(OracleBoolean, OracleBoolean) Xor(OracleBoolean, OracleBoolean) Xor(OracleBoolean, OracleBoolean) Xor(OracleBoolean, OracleBoolean)

对提供的参数执行按位“异或”运算。Performs a bitwise exclusive-OR operation on the supplied parameters.

操作员

BitwiseAnd(OracleBoolean, OracleBoolean) BitwiseAnd(OracleBoolean, OracleBoolean) BitwiseAnd(OracleBoolean, OracleBoolean) BitwiseAnd(OracleBoolean, OracleBoolean)

对两个指定的 OracleBoolean 结构执行按位 AND 运算。Computes the bitwise AND of two specified OracleBoolean structures.

BitwiseOr(OracleBoolean, OracleBoolean) BitwiseOr(OracleBoolean, OracleBoolean) BitwiseOr(OracleBoolean, OracleBoolean) BitwiseOr(OracleBoolean, OracleBoolean)

对其两个 OracleBoolean 操作数执行按位“或”计算。Computes the bitwise OR of its two OracleBoolean operands.

Equality(OracleBoolean, OracleBoolean) Equality(OracleBoolean, OracleBoolean) Equality(OracleBoolean, OracleBoolean) Equality(OracleBoolean, OracleBoolean)

比较 OracleBoolean 的两个实例是否相等。Compares two instances of an OracleBoolean for equality.

ExclusiveOr(OracleBoolean, OracleBoolean) ExclusiveOr(OracleBoolean, OracleBoolean) ExclusiveOr(OracleBoolean, OracleBoolean) ExclusiveOr(OracleBoolean, OracleBoolean)

对提供的 OracleBoolean 参数执行按位“异或”运算。Performs a bitwise exclusive-OR operation on the supplied OracleBoolean parameters.

Explicit(OracleBoolean to Boolean) Explicit(OracleBoolean to Boolean) Explicit(OracleBoolean to Boolean) Explicit(OracleBoolean to Boolean)

OracleBoolean 转换为 BooleanConverts an OracleBoolean to a Boolean.

Explicit(OracleNumber to OracleBoolean) Explicit(OracleNumber to OracleBoolean) Explicit(OracleNumber to OracleBoolean) Explicit(OracleNumber to OracleBoolean)

OracleNumber 参数转换为 OracleBoolean 结构。Converts the OracleNumber parameter to an OracleBoolean structure.

Explicit(String to OracleBoolean) Explicit(String to OracleBoolean) Explicit(String to OracleBoolean) Explicit(String to OracleBoolean)

将字符串转换为 OracleBoolean 结构。Converts a string to an OracleBoolean structure.

False(OracleBoolean) False(OracleBoolean) False(OracleBoolean) False(OracleBoolean)

用于测试 ValueOracleBoolean,以确定其是否为 false。Used to test the Value of the OracleBoolean to determine whether it is false.

Implicit(Boolean to OracleBoolean) Implicit(Boolean to OracleBoolean) Implicit(Boolean to OracleBoolean) Implicit(Boolean to OracleBoolean)

Boolean 值转换为 OracleBooleanConverts a Boolean value to an OracleBoolean.

Inequality(OracleBoolean, OracleBoolean) Inequality(OracleBoolean, OracleBoolean) Inequality(OracleBoolean, OracleBoolean) Inequality(OracleBoolean, OracleBoolean)

比较 OracleBoolean 的两个实例是否不相等。Compares two instances of OracleBoolean for inequality.

LogicalNot(OracleBoolean) LogicalNot(OracleBoolean) LogicalNot(OracleBoolean) LogicalNot(OracleBoolean)

OracleBoolean 执行 NOT 运算。Performs a NOT operation on an OracleBoolean.

OnesComplement(OracleBoolean) OnesComplement(OracleBoolean) OnesComplement(OracleBoolean) OnesComplement(OracleBoolean)

在指定的 OracleBoolean 上执行对一个值的求补运算。Performs a one's complement operation on the specified OracleBoolean.

True(OracleBoolean) True(OracleBoolean) True(OracleBoolean) True(OracleBoolean)

用于测试 ValueOracleBoolean,以确定其是否为 true。Used to test the Value of the OracleBoolean to determine whether it is true.

适用于