MemberInitExpression.Update(NewExpression, IEnumerable<MemberBinding>) Método

Definição

Cria uma nova expressão que é parecida com esta, mas usando os filhos fornecidos.Creates a new expression that is like this one, but using the supplied children. Se todos os filhos forem os mesmos, ela retornará esta expressão.If all of the children are the same, it will return this expression.

public:
 System::Linq::Expressions::MemberInitExpression ^ Update(System::Linq::Expressions::NewExpression ^ newExpression, System::Collections::Generic::IEnumerable<System::Linq::Expressions::MemberBinding ^> ^ bindings);
public System.Linq.Expressions.MemberInitExpression Update (System.Linq.Expressions.NewExpression newExpression, System.Collections.Generic.IEnumerable<System.Linq.Expressions.MemberBinding> bindings);
member this.Update : System.Linq.Expressions.NewExpression * seq<System.Linq.Expressions.MemberBinding> -> System.Linq.Expressions.MemberInitExpression
Public Function Update (newExpression As NewExpression, bindings As IEnumerable(Of MemberBinding)) As MemberInitExpression

Parâmetros

newExpression
NewExpression

A propriedade NewExpression do resultado.The NewExpression property of the result.

bindings
IEnumerable<MemberBinding>

A propriedade Bindings do resultado.The Bindings property of the result.

Retornos

MemberInitExpression

Essa expressão se nenhum filho foi alterado ou uma expressão com os filhos atualizados.This expression if no children are changed or an expression with the updated children.

Aplica-se a