语言

EdmFunctions.BitwiseXor(DbExpression, DbExpression) 方法

定义

创建一个 DbFunctionExpression ,它使用指定的参数调用规范“BitwiseXor”函数,该函数必须具有相同的整数数值结果类型。 表达式的结果类型与参数的类型相同。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ BitwiseXor(System::Data::Common::CommandTrees::DbExpression ^ value1, System::Data::Common::CommandTrees::DbExpression ^ value2);
public static System.Data.Common.CommandTrees.DbFunctionExpression BitwiseXor(this System.Data.Common.CommandTrees.DbExpression value1, System.Data.Common.CommandTrees.DbExpression value2);
static member BitwiseXor : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function BitwiseXor (value1 As DbExpression, value2 As DbExpression) As DbFunctionExpression

参数

value1
DbExpression

一个指定第一个操作数的表达式。

value2
DbExpression

一个指定第二个操作数的表达式。

返回

一个新的 DbFunctionExpression,返回通过执行和value1的按位 XOR (独占 OR) value2 生成的值。

例外

value1 或 value2 为 null.

value1 或 value2 无效。

适用于