共用方式為


OperationVisitor<TArgument,TResult>.Visit(IOperation, TArgument) Method

Definition

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

Parameters

operation
IOperation
argument
TArgument

Returns

TResult

Applies to