ExpressionVisitor.VisitExtension Method (Expression)

 

Visits the children of the extension expression.

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

protected internal virtual Expression VisitExtension(
	Expression node
)

Parameters

node
Type: System.Linq.Expressions.Expression

The expression to visit.

Return Value

Type: System.Linq.Expressions.Expression

The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.

This can be overridden to visit or rewrite specific extension nodes.

If it is not overridden, this method will call VisitChildren, which gives the node a chance to walk its children. By default, VisitChildren will try to reduce the node.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: