ExpressionVisitor.VisitExtension Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Visits the children of the extension expression.
Namespace: System.Linq.Expressions
Assembly: System.Core (in System.Core.dll)
Syntax
'Declaration
Protected Friend Overridable Function VisitExtension ( _
node As Expression _
) As Expression
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.
Remarks
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.
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.