Expression.OrAssign 方法
定义
创建一个表示按位 OR 赋值运算的 BinaryExpression。Creates a BinaryExpression that represents a bitwise OR assignment operation.
重载
| OrAssign(Expression, Expression) |
创建一个表示按位 OR 赋值运算的 BinaryExpression。Creates a BinaryExpression that represents a bitwise OR assignment operation. |
| OrAssign(Expression, Expression, MethodInfo) |
创建一个表示按位 OR 赋值运算的 BinaryExpression。Creates a BinaryExpression that represents a bitwise OR assignment operation. |
| OrAssign(Expression, Expression, MethodInfo, LambdaExpression) |
创建一个表示按位 OR 赋值运算的 BinaryExpression。Creates a BinaryExpression that represents a bitwise OR assignment operation. |
OrAssign(Expression, Expression)
创建一个表示按位 OR 赋值运算的 BinaryExpression。Creates a BinaryExpression that represents a bitwise OR assignment operation.
public:
static System::Linq::Expressions::BinaryExpression ^ OrAssign(System::Linq::Expressions::Expression ^ left, System::Linq::Expressions::Expression ^ right);
public static System.Linq.Expressions.BinaryExpression OrAssign (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right);
static member OrAssign : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.BinaryExpression
Public Shared Function OrAssign (left As Expression, right As Expression) As BinaryExpression
参数
- left
- Expression
要将 Expression 属性设置为与其相等的 Left。An Expression to set the Left property equal to.
- right
- Expression
要将 Expression 属性设置为与其相等的 Right。An Expression to set the Right property equal to.
返回
一个 BinaryExpression,其 NodeType 属性等于 OrAssign,并且其 Left 和 Right 属性设置为指定值。A BinaryExpression that has the NodeType property equal to OrAssign and the Left and Right properties set to the specified values.
适用于
OrAssign(Expression, Expression, MethodInfo)
创建一个表示按位 OR 赋值运算的 BinaryExpression。Creates a BinaryExpression that represents a bitwise OR assignment operation.
public:
static System::Linq::Expressions::BinaryExpression ^ OrAssign(System::Linq::Expressions::Expression ^ left, System::Linq::Expressions::Expression ^ right, System::Reflection::MethodInfo ^ method);
public static System.Linq.Expressions.BinaryExpression OrAssign (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Reflection.MethodInfo method);
public static System.Linq.Expressions.BinaryExpression OrAssign (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Reflection.MethodInfo? method);
static member OrAssign : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Reflection.MethodInfo -> System.Linq.Expressions.BinaryExpression
Public Shared Function OrAssign (left As Expression, right As Expression, method As MethodInfo) As BinaryExpression
参数
- left
- Expression
要将 Expression 属性设置为与其相等的 Left。An Expression to set the Left property equal to.
- right
- Expression
要将 Expression 属性设置为与其相等的 Right。An Expression to set the Right property equal to.
- method
- MethodInfo
要将 MethodInfo 属性设置为与其相等的 Method。A MethodInfo to set the Method property equal to.
返回
一个 BinaryExpression,其 NodeType 属性等于 OrAssign,并且其 Left、Right 和 Method 属性设置为指定值。A BinaryExpression that has the NodeType property equal to OrAssign and the Left, Right, and Method properties set to the specified values.
适用于
OrAssign(Expression, Expression, MethodInfo, LambdaExpression)
创建一个表示按位 OR 赋值运算的 BinaryExpression。Creates a BinaryExpression that represents a bitwise OR assignment operation.
public:
static System::Linq::Expressions::BinaryExpression ^ OrAssign(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 OrAssign (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 OrAssign (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Reflection.MethodInfo? method, System.Linq.Expressions.LambdaExpression? conversion);
static member OrAssign : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Reflection.MethodInfo * System.Linq.Expressions.LambdaExpression -> System.Linq.Expressions.BinaryExpression
Public Shared Function OrAssign (left As Expression, right As Expression, method As MethodInfo, conversion As LambdaExpression) As BinaryExpression
参数
- left
- Expression
要将 Expression 属性设置为与其相等的 Left。An Expression to set the Left property equal to.
- right
- Expression
要将 Expression 属性设置为与其相等的 Right。An Expression to set the Right property equal to.
- method
- MethodInfo
要将 MethodInfo 属性设置为与其相等的 Method。A MethodInfo to set the Method property equal to.
- conversion
- LambdaExpression
要将 LambdaExpression 属性设置为与其相等的 Conversion。A LambdaExpression to set the Conversion property equal to.
返回
一个 BinaryExpression,其 NodeType 属性等于 OrAssign,并且其 Left、Right、Method 和 Conversion 属性设置为指定值。A BinaryExpression that has the NodeType property equal to OrAssign and the Left, Right, Method, and Conversion properties set to the specified values.