共用方式為


OperationVisitor<TArgument,TResult>.VisitVariableDeclaration Method

Definition

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

Parameters

argument
TArgument

Returns

TResult

Applies to