共用方式為


OperationVisitor<TArgument,TResult>.VisitDiscardOperation Method

Definition

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

Parameters

operation
IDiscardOperation
argument
TArgument

Returns

TResult

Applies to