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)

Source:
UnaryExpression.cs
Source:
UnaryExpression.cs
Source:
UnaryExpression.cs

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
Public Shared Function PreIncrementAssign (expression As Expression) As UnaryExpression

Parameters

expression
Expression

An Expression to apply the operations on.

Returns

A UnaryExpression that represents the resultant expression.

Applies to

PreIncrementAssign(Expression, MethodInfo)

Source:
UnaryExpression.cs
Source:
UnaryExpression.cs
Source:
UnaryExpression.cs

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);
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
Public Shared Function PreIncrementAssign (expression As Expression, method As MethodInfo) As 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