OracleBoolean.Xor(OracleBoolean, OracleBoolean) 方法

定义

对提供的参数执行按位“异或”运算。

public:
 static System::Data::OracleClient::OracleBoolean Xor(System::Data::OracleClient::OracleBoolean x, System::Data::OracleClient::OracleBoolean y);
public static System.Data.OracleClient.OracleBoolean Xor (System.Data.OracleClient.OracleBoolean x, System.Data.OracleClient.OracleBoolean y);
static member Xor : System.Data.OracleClient.OracleBoolean * System.Data.OracleClient.OracleBoolean -> System.Data.OracleClient.OracleBoolean
Public Shared Function Xor (x As OracleBoolean, y As OracleBoolean) As OracleBoolean

参数

返回

下表显示了逻辑 XOR 运算的结果。

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

适用于