Freigeben über


OperationVisitor<TArgument,TResult>.VisitSwitch Methode

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

Parameter

operation
ISwitchOperation
argument
TArgument

Gibt zurück

TResult

Gilt für: