Partager via


OperationVisitor<TArgument,TResult>.VisitSwitch Method

Definition

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

Parameters

operation
ISwitchOperation
argument
TArgument

Returns

TResult

Applies to