Поделиться через


OperationVisitor<TArgument,TResult>.VisitSwitch Метод

Определение

public:
 virtual TResult VisitSwitch(Microsoft::CodeAnalysis::Operations::ISwitchOperation ^ operation, TArgument argument);
public virtual TResult VisitSwitch (Microsoft.CodeAnalysis.Operations.ISwitchOperation operation, TArgument argument);
public virtual TResult? VisitSwitch (Microsoft.CodeAnalysis.Operations.ISwitchOperation operation, TArgument argument);
abstract member VisitSwitch : Microsoft.CodeAnalysis.Operations.ISwitchOperation * 'Argument -> 'Result
override this.VisitSwitch : Microsoft.CodeAnalysis.Operations.ISwitchOperation * 'Argument -> 'Result
Public Overridable Function VisitSwitch (operation As ISwitchOperation, argument As TArgument) As TResult

Параметры

operation
ISwitchOperation
argument
TArgument

Возвращаемое значение

TResult

Применяется к