Expression.ExclusiveOrAssign 方法

定义

创建一个表示按位 XOR 赋值运算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise XOR assignment operation.

重载

ExclusiveOrAssign(Expression, Expression, MethodInfo, LambdaExpression)

通过对用户定义的类型使用 op_ExclusiveOr,创建一个表示按位 XOR 赋值运算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise XOR assignment operation, using op_ExclusiveOr for user-defined types.

ExclusiveOrAssign(Expression, Expression, MethodInfo)

通过对用户定义的类型使用 op_ExclusiveOr,创建一个表示按位 XOR 赋值运算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise XOR assignment operation, using op_ExclusiveOr for user-defined types.

ExclusiveOrAssign(Expression, Expression)

通过对用户定义的类型使用 op_ExclusiveOr,创建一个表示按位 XOR 赋值运算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise XOR assignment operation, using op_ExclusiveOr for user-defined types.

ExclusiveOrAssign(Expression, Expression, MethodInfo, LambdaExpression)

通过对用户定义的类型使用 op_ExclusiveOr,创建一个表示按位 XOR 赋值运算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise XOR assignment operation, using op_ExclusiveOr for user-defined types.

public:
 static System::Linq::Expressions::BinaryExpression ^ ExclusiveOrAssign(System::Linq::Expressions::Expression ^ left, System::Linq::Expressions::Expression ^ right, System::Reflection::MethodInfo ^ method, System::Linq::Expressions::LambdaExpression ^ conversion);
public static System.Linq.Expressions.BinaryExpression ExclusiveOrAssign (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Reflection.MethodInfo method, System.Linq.Expressions.LambdaExpression conversion);
public static System.Linq.Expressions.BinaryExpression ExclusiveOrAssign (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Reflection.MethodInfo? method, System.Linq.Expressions.LambdaExpression? conversion);
static member ExclusiveOrAssign : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Reflection.MethodInfo * System.Linq.Expressions.LambdaExpression -> System.Linq.Expressions.BinaryExpression
Public Shared Function ExclusiveOrAssign (left As Expression, right As Expression, method As MethodInfo, conversion As LambdaExpression) As BinaryExpression

参数

left
Expression

要将 Expression 属性设置为与其相等的 LeftAn Expression to set the Left property equal to.

right
Expression

要将 Expression 属性设置为与其相等的 RightAn Expression to set the Right property equal to.

method
MethodInfo

要将 MethodInfo 属性设置为与其相等的 MethodA MethodInfo to set the Method property equal to.

conversion
LambdaExpression

要将 LambdaExpression 属性设置为与其相等的 ConversionA LambdaExpression to set the Conversion property equal to.

返回

BinaryExpression

一个 BinaryExpression,其 NodeType 属性等于 ExclusiveOrAssign,并且其 LeftRightMethodConversion 属性设置为指定值。A BinaryExpression that has the NodeType property equal to ExclusiveOrAssign and the Left, Right, Method, and Conversion properties set to the specified values.

适用于

ExclusiveOrAssign(Expression, Expression, MethodInfo)

通过对用户定义的类型使用 op_ExclusiveOr,创建一个表示按位 XOR 赋值运算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise XOR assignment operation, using op_ExclusiveOr for user-defined types.

public:
 static System::Linq::Expressions::BinaryExpression ^ ExclusiveOrAssign(System::Linq::Expressions::Expression ^ left, System::Linq::Expressions::Expression ^ right, System::Reflection::MethodInfo ^ method);
public static System.Linq.Expressions.BinaryExpression ExclusiveOrAssign (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Reflection.MethodInfo method);
public static System.Linq.Expressions.BinaryExpression ExclusiveOrAssign (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Reflection.MethodInfo? method);
static member ExclusiveOrAssign : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Reflection.MethodInfo -> System.Linq.Expressions.BinaryExpression
Public Shared Function ExclusiveOrAssign (left As Expression, right As Expression, method As MethodInfo) As BinaryExpression

参数

left
Expression

要将 Expression 属性设置为与其相等的 LeftAn Expression to set the Left property equal to.

right
Expression

要将 Expression 属性设置为与其相等的 RightAn Expression to set the Right property equal to.

method
MethodInfo

要将 MethodInfo 属性设置为与其相等的 MethodA MethodInfo to set the Method property equal to.

返回

BinaryExpression

一个 BinaryExpression,其 NodeType 属性等于 ExclusiveOrAssign,并且其 LeftRightMethod 属性设置为指定值。A BinaryExpression that has the NodeType property equal to ExclusiveOrAssign and the Left, Right, and Method properties set to the specified values.

适用于

ExclusiveOrAssign(Expression, Expression)

通过对用户定义的类型使用 op_ExclusiveOr,创建一个表示按位 XOR 赋值运算的 BinaryExpressionCreates a BinaryExpression that represents a bitwise XOR assignment operation, using op_ExclusiveOr for user-defined types.

public:
 static System::Linq::Expressions::BinaryExpression ^ ExclusiveOrAssign(System::Linq::Expressions::Expression ^ left, System::Linq::Expressions::Expression ^ right);
public static System.Linq.Expressions.BinaryExpression ExclusiveOrAssign (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right);
static member ExclusiveOrAssign : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.BinaryExpression
Public Shared Function ExclusiveOrAssign (left As Expression, right As Expression) As BinaryExpression

参数

left
Expression

要将 Expression 属性设置为与其相等的 LeftAn Expression to set the Left property equal to.

right
Expression

要将 Expression 属性设置为与其相等的 RightAn Expression to set the Right property equal to.

返回

BinaryExpression

一个 BinaryExpression,其 NodeType 属性等于 ExclusiveOrAssign,并且其 LeftRight 属性设置为指定值。A BinaryExpression that has the NodeType property equal to ExclusiveOrAssign and the Left and Right properties set to the specified values.

适用于