AddAssignChecked Method (Expression, Expression, MethodInfo, LambdaExpression)

Expression.AddAssignChecked 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 an addition assignment operation that has overflow checking.

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

'Declaration
Public Shared Function AddAssignChecked ( _
	left As Expression, _
	right As Expression, _
	method As MethodInfo, _
	conversion As LambdaExpression _
) As BinaryExpression

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 AddAssignChecked 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