EdmFunctions.BitwiseXor(DbExpression, DbExpression) Méthode

Définition

Crée un objet DbFunctionExpression appelant la fonction « BitwiseXor » canonique avec les arguments spécifiés, qui doivent avoir le même type de résultat (numérique entier). Le type de résultat de l'expression est identique au type des arguments.

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

Paramètres

value1
DbExpression

Expression qui spécifie la première opérande.

value2
DbExpression

Expression qui spécifie la seconde opérande.

Retours

Nouvelle DbFunctionExpression qui retourne la valeur produite en exécutant le XOR au niveau du bit (OR exclusif) de value1 et value2.

Exceptions

value1 ou value2 est null.

value1 ou value2 n'est pas valide.

S’applique à