Expression.PreIncrementAssign Method

Definition

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

Overloads

PreIncrementAssign(Expression)

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

PreIncrementAssign(Expression, MethodInfo)

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

PreIncrementAssign(Expression)

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

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

Parameters

expression
Expression

An Expression to apply the operations on.

Returns

A UnaryExpression that represents the resultant expression.

PreIncrementAssign(Expression, MethodInfo)

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

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

Parameters

expression
Expression

An Expression to apply the operations on.

method
MethodInfo

A MethodInfo that represents the implementing method.

Returns

A UnaryExpression that represents the resultant expression.

Applies to