Expression.PreDecrementAssign Method (Expression, MethodInfo)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a UnaryExpression that decrements the expression by 1 and assigns the result back to the expression.
Assembly: System.Core (in System.Core.dll)
'Declaration Public Shared Function PreDecrementAssign ( _ expression As Expression, _ method As MethodInfo _ ) As UnaryExpression
Parameters
- expression
- Type: System.Linq.Expressions.Expression
An Expression to apply the operations on.
- method
- Type: System.Reflection.MethodInfo
A MethodInfo that represents the implementing method.
Return Value
Type: System.Linq.Expressions.UnaryExpressionA UnaryExpression that represents the resultant expression.
Show: