Expression.PowerAssign Method

Definition

Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

Overloads

PowerAssign(Expression, Expression)

Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

PowerAssign(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

PowerAssign(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

PowerAssign(Expression, Expression)

Source:
BinaryExpression.cs
Source:
BinaryExpression.cs
Source:
BinaryExpression.cs

Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

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

Parameters

left
Expression

An Expression to set the Left property equal to.

right
Expression

An Expression to set the Right property equal to.

Returns

A BinaryExpression that has the NodeType property equal to PowerAssign and the Left and Right properties set to the specified values.

Applies to

PowerAssign(Expression, Expression, MethodInfo)

Source:
BinaryExpression.cs
Source:
BinaryExpression.cs
Source:
BinaryExpression.cs

Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

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

Parameters

left
Expression

An Expression to set the Left property equal to.

right
Expression

An Expression to set the Right property equal to.

method
MethodInfo

A MethodInfo to set the Method property equal to.

Returns

A BinaryExpression that has the NodeType property equal to PowerAssign and the Left, Right, and Method properties set to the specified values.

Applies to

PowerAssign(Expression, Expression, MethodInfo, LambdaExpression)

Source:
BinaryExpression.cs
Source:
BinaryExpression.cs
Source:
BinaryExpression.cs

Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

public:
 static System::Linq::Expressions::BinaryExpression ^ PowerAssign(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 PowerAssign (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 PowerAssign (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Reflection.MethodInfo? method, System.Linq.Expressions.LambdaExpression? conversion);
static member PowerAssign : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Reflection.MethodInfo * System.Linq.Expressions.LambdaExpression -> System.Linq.Expressions.BinaryExpression
Public Shared Function PowerAssign (left As Expression, right As Expression, method As MethodInfo, conversion As LambdaExpression) As BinaryExpression

Parameters

left
Expression

An Expression to set the Left property equal to.

right
Expression

An Expression to set the Right property equal to.

method
MethodInfo

A MethodInfo to set the Method property equal to.

conversion
LambdaExpression

A LambdaExpression to set the Conversion property equal to.

Returns

A BinaryExpression that has the NodeType property equal to PowerAssign and the Left, Right, Method, and Conversion properties set to the specified values.

Applies to