Expression.PreDecrementAssign Expression.PreDecrementAssign Expression.PreDecrementAssign Method

Definition

Creates a UnaryExpression that decrements the expression by 1 and assigns the result back to the expression.

Overloads

PreDecrementAssign(Expression) PreDecrementAssign(Expression) PreDecrementAssign(Expression)

Creates a UnaryExpression that decrements the expression by 1 and assigns the result back to the expression.

PreDecrementAssign(Expression, MethodInfo) PreDecrementAssign(Expression, MethodInfo) PreDecrementAssign(Expression, MethodInfo)

Creates a UnaryExpression that decrements the expression by 1 and assigns the result back to the expression.

PreDecrementAssign(Expression) PreDecrementAssign(Expression) PreDecrementAssign(Expression)

Creates a UnaryExpression that decrements the expression by 1 and assigns the result back to the expression.

public:
 static System::Linq::Expressions::UnaryExpression ^ PreDecrementAssign(System::Linq::Expressions::Expression ^ expression);
public static System.Linq.Expressions.UnaryExpression PreDecrementAssign (System.Linq.Expressions.Expression expression);
static member PreDecrementAssign : System.Linq.Expressions.Expression -> System.Linq.Expressions.UnaryExpression

Parameters

expression
Expression Expression Expression

An Expression to apply the operations on.

Returns

A UnaryExpression that represents the resultant expression.

PreDecrementAssign(Expression, MethodInfo) PreDecrementAssign(Expression, MethodInfo) PreDecrementAssign(Expression, MethodInfo)

Creates a UnaryExpression that decrements the expression by 1 and assigns the result back to the expression.

public:
 static System::Linq::Expressions::UnaryExpression ^ PreDecrementAssign(System::Linq::Expressions::Expression ^ expression, System::Reflection::MethodInfo ^ method);
public static System.Linq.Expressions.UnaryExpression PreDecrementAssign (System.Linq.Expressions.Expression expression, System.Reflection.MethodInfo method);
static member PreDecrementAssign : System.Linq.Expressions.Expression * System.Reflection.MethodInfo -> System.Linq.Expressions.UnaryExpression

Parameters

expression
Expression Expression Expression

An Expression to apply the operations on.

method
MethodInfo MethodInfo MethodInfo

A MethodInfo that represents the implementing method.

Returns

A UnaryExpression that represents the resultant expression.

Applies to