Editare

Partajați prin


IDynamicExpression.Rewrite(Expression[]) Method

Definition

Rewrites this node replacing the dynamic expression's arguments with the provided values. The number of args needs to match the number of the current expression. You should not use this type. It is only public due to assembly refactoring, and it is used internally for performance optimizations. This helper method allows re-writing of nodes to be independent of the specific implementation class deriving from DynamicExpression that is being used at the call site.

public:
 System::Linq::Expressions::Expression ^ Rewrite(cli::array <System::Linq::Expressions::Expression ^> ^ args);
public System.Linq.Expressions.Expression Rewrite (System.Linq.Expressions.Expression[] args);
abstract member Rewrite : System.Linq.Expressions.Expression[] -> System.Linq.Expressions.Expression
Public Function Rewrite (args As Expression()) As Expression

Parameters

args
Expression[]

The arguments used to replace this node.

Returns

The rewritten node, but if no changes were made, then returns the same node.

Applies to