Open sandboxFocus

Method VisitSwitchExpression

VisitSwitchExpression(ISwitchExpression)

Visits an expression of type ISwitchExpression and, recursively, all children elements.

Declaration
public virtual object VisitSwitchExpression(ISwitchExpression expression)
Parameters
Type Name Description
ISwitchExpression expression

The element to be visited.

Returns
Type Description
object

expression, unless the override returns something else.