Expression.PreDecrementAssign Method

Definition

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

Overloads

PreDecrementAssign(Expression)

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

PreDecrementAssign(Expression, MethodInfo)

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

PreDecrementAssign(Expression)

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

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
Public Shared Function PreDecrementAssign (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

PreDecrementAssign(Expression, MethodInfo)

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

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);
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
Public Shared Function PreDecrementAssign (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