共用方式為


CSharpSyntaxVisitor<TResult>.VisitAccessorDeclaration 方法

定義

當訪客造訪存取子DeclarationSyntax 節點時呼叫。

public:
 virtual TResult VisitAccessorDeclaration(Microsoft::CodeAnalysis::CSharp::Syntax::AccessorDeclarationSyntax ^ node);
public virtual TResult VisitAccessorDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax node);
public virtual TResult? VisitAccessorDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax node);
abstract member VisitAccessorDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax -> 'Result
override this.VisitAccessorDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax -> 'Result
Public Overridable Function VisitAccessorDeclaration (node As AccessorDeclarationSyntax) As TResult

參數

傳回

TResult

適用於