OracleBoolean.ExclusiveOr(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 Xor (x As OracleBoolean, y As OracleBoolean) As OracleBoolean

参数

返回

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

x 的值 y 的值 结果
truetruefalse
truefalsetrue
falsefalsefalse
trueunknownunknown
falseunknownunknown
unknownunknownunknown

注解

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

适用于