Expression.AddAssignChecked 方法

定義

建立 BinaryExpression,表示包含溢位檢查的加法指派運算。Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.

多載

AddAssignChecked(Expression, Expression)

建立 BinaryExpression,表示包含溢位檢查的加法指派運算。Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.

AddAssignChecked(Expression, Expression, MethodInfo)

建立 BinaryExpression,表示包含溢位檢查的加法指派運算。Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.

AddAssignChecked(Expression, Expression, MethodInfo, LambdaExpression)

建立 BinaryExpression,表示包含溢位檢查的加法指派運算。Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.

AddAssignChecked(Expression, Expression)

建立 BinaryExpression,表示包含溢位檢查的加法指派運算。Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.

public:
 static System::Linq::Expressions::BinaryExpression ^ AddAssignChecked(System::Linq::Expressions::Expression ^ left, System::Linq::Expressions::Expression ^ right);
public static System.Linq.Expressions.BinaryExpression AddAssignChecked (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right);
static member AddAssignChecked : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.BinaryExpression
Public Shared Function AddAssignChecked (left As Expression, right As Expression) As BinaryExpression

參數

left
Expression

要將 Expression 屬性設定為與之相等的 LeftAn Expression to set the Left property equal to.

right
Expression

要將 Expression 屬性設定為與之相等的 RightAn Expression to set the Right property equal to.

傳回

BinaryExpression

BinaryExpression,其 NodeType 屬性等於 AddAssignChecked,且 LeftRight 屬性設定為指定的值。A BinaryExpression that has the NodeType property equal to AddAssignChecked and the Left and Right properties set to the specified values.

適用於

AddAssignChecked(Expression, Expression, MethodInfo)

建立 BinaryExpression,表示包含溢位檢查的加法指派運算。Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.

public:
 static System::Linq::Expressions::BinaryExpression ^ AddAssignChecked(System::Linq::Expressions::Expression ^ left, System::Linq::Expressions::Expression ^ right, System::Reflection::MethodInfo ^ method);
public static System.Linq.Expressions.BinaryExpression AddAssignChecked (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Reflection.MethodInfo method);
public static System.Linq.Expressions.BinaryExpression AddAssignChecked (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Reflection.MethodInfo? method);
static member AddAssignChecked : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Reflection.MethodInfo -> System.Linq.Expressions.BinaryExpression
Public Shared Function AddAssignChecked (left As Expression, right As Expression, method As MethodInfo) As BinaryExpression

參數

left
Expression

要將 Expression 屬性設定為與之相等的 LeftAn Expression to set the Left property equal to.

right
Expression

要將 Expression 屬性設定為與之相等的 RightAn Expression to set the Right property equal to.

method
MethodInfo

要將 MethodInfo 屬性設定為與之相等的 MethodA MethodInfo to set the Method property equal to.

傳回

BinaryExpression

BinaryExpression,其 NodeType 屬性等於 AddAssignChecked,且 LeftRightMethod 屬性設定為指定的值。A BinaryExpression that has the NodeType property equal to AddAssignChecked and the Left, Right, and Method properties set to the specified values.

適用於

AddAssignChecked(Expression, Expression, MethodInfo, LambdaExpression)

建立 BinaryExpression,表示包含溢位檢查的加法指派運算。Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.

public:
 static System::Linq::Expressions::BinaryExpression ^ AddAssignChecked(System::Linq::Expressions::Expression ^ left, System::Linq::Expressions::Expression ^ right, System::Reflection::MethodInfo ^ method, System::Linq::Expressions::LambdaExpression ^ conversion);
public static System.Linq.Expressions.BinaryExpression AddAssignChecked (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Reflection.MethodInfo method, System.Linq.Expressions.LambdaExpression conversion);
public static System.Linq.Expressions.BinaryExpression AddAssignChecked (System.Linq.Expressions.Expression left, System.Linq.Expressions.Expression right, System.Reflection.MethodInfo? method, System.Linq.Expressions.LambdaExpression? conversion);
static member AddAssignChecked : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Reflection.MethodInfo * System.Linq.Expressions.LambdaExpression -> System.Linq.Expressions.BinaryExpression
Public Shared Function AddAssignChecked (left As Expression, right As Expression, method As MethodInfo, conversion As LambdaExpression) As BinaryExpression

參數

left
Expression

要將 Expression 屬性設定為與之相等的 LeftAn Expression to set the Left property equal to.

right
Expression

要將 Expression 屬性設定為與之相等的 RightAn Expression to set the Right property equal to.

method
MethodInfo

要將 MethodInfo 屬性設定為與之相等的 MethodA MethodInfo to set the Method property equal to.

conversion
LambdaExpression

要將 LambdaExpression 屬性設定為與之相等的 ConversionA LambdaExpression to set the Conversion property equal to.

傳回

BinaryExpression

BinaryExpression,其 NodeType 屬性等於 AddAssignChecked,且 LeftRightMethodConversion 屬性設定為指定的值。A BinaryExpression that has the NodeType property equal to AddAssignChecked and the Left, Right, Method, and Conversion properties set to the specified values.

適用於