SubtractAssign Method (Expression, Expression, MethodInfo, LambdaExpression)

Expression.SubtractAssign Method (Expression, Expression, MethodInfo, LambdaExpression)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Creates a BinaryExpression that represents a subtraction assignment operation that does not have overflow checking.

Namespace:  System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

public static BinaryExpression SubtractAssign(
	Expression left,
	Expression right,
	MethodInfo method,
	LambdaExpression conversion
)

Parameters

left
Type: System.Linq.Expressions.Expression
An Expression to set the Left property equal to.
right
Type: System.Linq.Expressions.Expression
An Expression to set the Right property equal to.
method
Type: System.Reflection.MethodInfo
A MethodInfo to set the Method property equal to.
conversion
Type: System.Linq.Expressions.LambdaExpression
A LambdaExpression to set the Conversion property equal to.

Return Value

Type: System.Linq.Expressions.BinaryExpression
A BinaryExpression that has the NodeType property equal to SubtractAssign and the Left, Right, Method, and Conversion properties set to the specified values.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft