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.ExpressionProtected Friend Overridable Function VisitSwitch (node As SwitchExpression) As ExpressionParameters
- node
- SwitchExpression
The expression to visit.
Returns
The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.