System.Linq.Expressions.ParameterExpression.Accept Method

Dispatches to the specific visit method for this node type. For example, System.Linq.Expressions.MethodCallExpression calls the ExpressionVisitor.VisitMethodCall(MethodCallExpression).

Syntax

protected override Expression Accept (ExpressionVisitor visitor)

Parameters

visitor
The visitor to visit this node with.

Returns

The result of visiting this node.

Remarks

This default implementation for ExpressionType.Extension nodes calls ExpressionVisitor.VisitExtension(Expression). Override this method to call into a more specific method on a derived visitor class of the System.Linq.Expressions.ExpressionVisitor class. However, it should still support unknown visitors by calling ExpressionVisitor.VisitExtension(Expression).

Requirements

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