GotoExpression.Update(LabelTarget, Expression) Método

Definición

Crea una nueva expresión que es como esta, pero usa el elemento secundario proporcionado. Si todos los elementos secundarios son iguales, devolverá esta expresión.

public:
 System::Linq::Expressions::GotoExpression ^ Update(System::Linq::Expressions::LabelTarget ^ target, System::Linq::Expressions::Expression ^ value);
public System.Linq.Expressions.GotoExpression Update (System.Linq.Expressions.LabelTarget target, System.Linq.Expressions.Expression value);
public System.Linq.Expressions.GotoExpression Update (System.Linq.Expressions.LabelTarget target, System.Linq.Expressions.Expression? value);
member this.Update : System.Linq.Expressions.LabelTarget * System.Linq.Expressions.Expression -> System.Linq.Expressions.GotoExpression
Public Function Update (target As LabelTarget, value As Expression) As GotoExpression

Parámetros

target
LabelTarget

Propiedad Target del resultado.

value
Expression

Propiedad Value del resultado.

Devoluciones

Esta expresión si no se cambió ningún elemento secundario o una expresión con los elementos secundarios actualizados.

Se aplica a