Επεξεργασία

Κοινή χρήση μέσω


ExpressionVisitor.VisitSwitch(SwitchExpression) Method

Definition

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