Επεξεργασία

Κοινή χρήση μέσω


BinaryExpression.Update(Expression, LambdaExpression, Expression) Method

Definition

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

public:
 System::Linq::Expressions::BinaryExpression ^ Update(System::Linq::Expressions::Expression ^ left, System::Linq::Expressions::LambdaExpression ^ conversion, System::Linq::Expressions::Expression ^ right);
public System.Linq.Expressions.BinaryExpression Update (System.Linq.Expressions.Expression left, System.Linq.Expressions.LambdaExpression conversion, System.Linq.Expressions.Expression right);
public System.Linq.Expressions.BinaryExpression Update (System.Linq.Expressions.Expression left, System.Linq.Expressions.LambdaExpression? conversion, System.Linq.Expressions.Expression right);
member this.Update : System.Linq.Expressions.Expression * System.Linq.Expressions.LambdaExpression * System.Linq.Expressions.Expression -> System.Linq.Expressions.BinaryExpression
Public Function Update (left As Expression, conversion As LambdaExpression, right As Expression) As BinaryExpression

Parameters

left
Expression

The Left property of the result.

conversion
LambdaExpression

The Conversion property of the result.

right
Expression

The Right property of the result.

Returns

This expression if no children are changed or an expression with the updated children.

Applies to