ExpressionVisitor.VisitSwitch(SwitchExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Visits the children of the SwitchExpression.
protected public:
virtual System::Linq::Expressions::Expression ^ VisitSwitch(System::Linq::Expressions::SwitchExpression ^ node);
protected internal virtual System.Linq.Expressions.Expression VisitSwitch (System.Linq.Expressions.SwitchExpression node);
abstract member VisitSwitch : System.Linq.Expressions.SwitchExpression -> System.Linq.Expressions.Expression
override this.VisitSwitch : System.Linq.Expressions.SwitchExpression -> System.Linq.Expressions.Expression
Protected Friend Overridable Function VisitSwitch (node As SwitchExpression) As Expression
Parameters
- node
- SwitchExpression
The expression to visit.
Returns
The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.