Επεξεργασία

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


DynamicExpression.Update(IEnumerable<Expression>) Method

Definition

Compares the value sent to the parameter, arguments, to the Arguments property of the current instance of DynamicExpression. If the values of the parameter and the property are equal, the current instance is returned. If they are not equal, a new DynamicExpression instance is returned that is identical to the current instance except that the Arguments property is set to the value of parameter arguments.

public:
 System::Linq::Expressions::DynamicExpression ^ Update(System::Collections::Generic::IEnumerable<System::Linq::Expressions::Expression ^> ^ arguments);
public System.Linq.Expressions.DynamicExpression Update (System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments);
public System.Linq.Expressions.DynamicExpression Update (System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression>? arguments);
member this.Update : seq<System.Linq.Expressions.Expression> -> System.Linq.Expressions.DynamicExpression
Public Function Update (arguments As IEnumerable(Of Expression)) As DynamicExpression

Parameters

arguments
IEnumerable<Expression>

The Arguments property of the result.

Returns

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

Applies to