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.

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

 

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.

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

Expression^ Rewrite(
	array<Expression^>^ args
)

Parameters

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

The arguments used to replace this node.

Return Value

Type: System.Linq.Expressions::Expression^

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

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