System.Linq.Expressions.BlockExpression.Update Method

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.

Syntax

public BlockExpression Update (IEnumerable<ParameterExpression> variables, IEnumerable<Expression> expressions)

Parameters

variables
The BlockExpression.Variables property of the result.
expressions
The BlockExpression.Expressions property of the result.

Returns

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

Remarks

Documentation for this section has not yet been entered.

Requirements

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