ExpressionVisitor.VisitSwitch(SwitchExpression) 方法
定义
访问 SwitchExpression 的子级。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
参数
- node
- SwitchExpression
要访问的表达式。The expression to visit.
返回
如果修改了该表达式或任何子表达式,则为修改后的表达式;否则返回原始表达式。The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.