ExpressionVisitor.VisitExtension Method

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


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.


Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions