CSharpSyntaxVisitor<TResult>.VisitClassDeclaration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.