Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DynamicExpression::IDynamicExpression::Rewrite Method (array<Expression^>^)

 

Rewrite 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.

Namespace:   System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

private:
virtual Expression^ Rewrite(
	array<Expression^>^ args
) sealed = IDynamicExpression::Rewrite

Parameters

args
Type: array<System.Linq.Expressions::Expression^>^

The arguments.

Return Value

Type: System.Linq.Expressions::Expression^

Returns Expression, the rewritten expression.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Return to top
Show:
© 2017 Microsoft