共用方式為


CSharpSyntaxVisitor<TResult>.VisitNamespaceDeclaration Method

Definition

Called when the visitor visits a NamespaceDeclarationSyntax node.

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

Parameters

Returns

TResult

Applies to