OracleBoolean.BitwiseOr(OracleBoolean, OracleBoolean) 操作员

定义

对其两个 OracleBoolean 操作数执行按位“或”计算。

public:
 static System::Data::OracleClient::OracleBoolean operator |(System::Data::OracleClient::OracleBoolean x, System::Data::OracleClient::OracleBoolean y);
public static System.Data.OracleClient.OracleBoolean operator | (System.Data.OracleClient.OracleBoolean x, System.Data.OracleClient.OracleBoolean y);
static member ( ||| ) : System.Data.OracleClient.OracleBoolean * System.Data.OracleClient.OracleBoolean -> System.Data.OracleClient.OracleBoolean
Public Shared Operator Or (x As OracleBoolean, y As OracleBoolean) As OracleBoolean

参数

返回

下表显示了按位“或”运算的结果。

x 的值 y 的值 结果
truetruetrue
truefalsetrue
falsefalsefalse
trueunknowntrue
falseunknownunknown
unknownunknownunknown

注解

此运算符的等效方法是 OracleBoolean.Or(OracleBoolean, OracleBoolean)

适用于