# Expression.PowerAssign 方法

## 多載

 PowerAssign(Expression, Expression) 建立 BinaryExpression，表示將運算式自乘為乘冪，並且將結果指派回運算式。Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression. PowerAssign(Expression, Expression, MethodInfo) 建立 BinaryExpression，表示將運算式自乘為乘冪，並且將結果指派回運算式。Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression. PowerAssign(Expression, Expression, MethodInfo, LambdaExpression) 建立 BinaryExpression，表示將運算式自乘為乘冪，並且將結果指派回運算式。Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

## PowerAssign(Expression, 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``

left
Expression

right
Expression

#### 傳回

BinaryExpression

BinaryExpression，其 NodeType 屬性等於 PowerAssign，且 LeftRight 屬性設定為指定的值。A BinaryExpression that has the NodeType property equal to PowerAssign and the Left and Right properties set to the specified values.

## PowerAssign(Expression, Expression, MethodInfo)

``````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``

left
Expression

right
Expression

method
MethodInfo

#### 傳回

BinaryExpression

BinaryExpression，其 NodeType 屬性等於 PowerAssign，且 LeftRightMethod 屬性設定為指定的值。A BinaryExpression that has the NodeType property equal to PowerAssign and the Left, Right, and Method properties set to the specified values.

## PowerAssign(Expression, Expression, MethodInfo, LambdaExpression)

``````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``

left
Expression

right
Expression

method
MethodInfo

conversion
LambdaExpression

#### 傳回

BinaryExpression

BinaryExpression，其 NodeType 屬性等於 PowerAssign，且 LeftRightMethodConversion 屬性設定為指定的值。A BinaryExpression that has the NodeType property equal to PowerAssign and the Left, Right, Method, and Conversion properties set to the specified values.