Sdílet prostřednictvím


EdmFunctions.BitwiseXor(DbExpression, DbExpression) Metoda

Definice

Vytvoří objekt DbFunctionExpression , který vyvolá kanonickou funkci BitwiseXor se zadanými argumenty, které musí mít stejný celočíselný typ výsledku. Typ výsledku výrazu je stejný jako typ argumentů.

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

Parametry

value1
DbExpression

Výraz, který určuje první operand.

value2
DbExpression

Výraz, který určuje druhý operand.

Návraty

Nový DbFunctionExpression, který vrací hodnotu vytvořenou provedením bitové XOR (výhradní OR) value1 a value2.

Výjimky

value1 nebo value2 je null.

value1 nebo value2 je neplatný.

Platí pro