System.Linq.Expressions.MemberInitExpression.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 MemberInitExpression Update (NewExpression newExpression, IEnumerable<MemberBinding> bindings)

Parameters

newExpression
The MemberInitExpression.NewExpression property of the result.
bindings
The MemberInitExpression.Bindings property of the result.

Returns

This expression if no children are 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