Expression.ExclusiveOrAssign 方法

定義

建立代表位元 XOR 指派運算的 BinaryExpression

多載

ExclusiveOrAssign(Expression, Expression, MethodInfo, LambdaExpression)

使用 op_ExclusiveOr 作為使用者定義型別,建立代表位元 XOR 指派運算的 BinaryExpression

ExclusiveOrAssign(Expression, Expression, MethodInfo)

使用 op_ExclusiveOr 作為使用者定義型別,建立代表位元 XOR 指派運算的 BinaryExpression

ExclusiveOrAssign(Expression, Expression)

使用 op_ExclusiveOr 作為使用者定義型別,建立代表位元 XOR 指派運算的 BinaryExpression

ExclusiveOrAssign(Expression, Expression, MethodInfo, LambdaExpression)

使用 op_ExclusiveOr 作為使用者定義型別,建立代表位元 XOR 指派運算的 BinaryExpression

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 屬性設定為與之相等的 Left

right
Expression

要將 Expression 屬性設定為與之相等的 Right

method
MethodInfo

要將 MethodInfo 屬性設定為與之相等的 Method

conversion
LambdaExpression

要將 LambdaExpression 屬性設定為與之相等的 Conversion

傳回

BinaryExpression

BinaryExpression,其 NodeType 屬性等於 ExclusiveOrAssign,且 LeftRightMethodConversion 屬性設定為指定的值。

適用於

ExclusiveOrAssign(Expression, Expression, MethodInfo)

使用 op_ExclusiveOr 作為使用者定義型別,建立代表位元 XOR 指派運算的 BinaryExpression

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 屬性設定為與之相等的 Left

right
Expression

要將 Expression 屬性設定為與之相等的 Right

method
MethodInfo

要將 MethodInfo 屬性設定為與之相等的 Method

傳回

BinaryExpression

BinaryExpression,其 NodeType 屬性等於 ExclusiveOrAssign,且 LeftRightMethod 屬性設定為指定的值。

適用於

ExclusiveOrAssign(Expression, Expression)

使用 op_ExclusiveOr 作為使用者定義型別,建立代表位元 XOR 指派運算的 BinaryExpression

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 屬性設定為與之相等的 Left

right
Expression

要將 Expression 屬性設定為與之相等的 Right

傳回

BinaryExpression

BinaryExpression,其 NodeType 屬性等於 ExclusiveOrAssign,且 LeftRight 屬性設定為指定的值。

適用於