共用方式為


CSharpSyntaxVisitor<TResult>.VisitClassDeclaration Method

Definition

Called when the visitor visits a ClassDeclarationSyntax node.

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

Parameters

Returns

TResult

Applies to