ExpressionVisitor.VisitSwitchCase(SwitchCase) 方法
定义
访问 SwitchCase 的子级。Visits the children of the SwitchCase.
protected:
virtual System::Linq::Expressions::SwitchCase ^ VisitSwitchCase(System::Linq::Expressions::SwitchCase ^ node);
protected virtual System.Linq.Expressions.SwitchCase VisitSwitchCase (System.Linq.Expressions.SwitchCase node);
abstract member VisitSwitchCase : System.Linq.Expressions.SwitchCase -> System.Linq.Expressions.SwitchCase
override this.VisitSwitchCase : System.Linq.Expressions.SwitchCase -> System.Linq.Expressions.SwitchCase
Protected Overridable Function VisitSwitchCase (node As SwitchCase) As SwitchCase
参数
- node
- SwitchCase
要访问的表达式。The expression to visit.
返回
如果修改了该表达式或任何子表达式,则为修改后的表达式;否则返回原始表达式。The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.