VisitExtension Method

ExpressionVisitor.VisitExtension Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Visits the children of the extension expression.

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

'Declaration
Protected Friend Overridable Function VisitExtension ( _
	node As Expression _
) As Expression

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft