共用方式為


CSharpSyntaxVisitor.VisitNamespaceDeclaration 方法

定義

當訪客造訪 NamespaceDeclarationSyntax 節點時呼叫。

public:
 virtual void VisitNamespaceDeclaration(Microsoft::CodeAnalysis::CSharp::Syntax::NamespaceDeclarationSyntax ^ node);
public virtual void VisitNamespaceDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax node);
abstract member VisitNamespaceDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax -> unit
override this.VisitNamespaceDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax -> unit
Public Overridable Sub VisitNamespaceDeclaration (node As NamespaceDeclarationSyntax)

參數

適用於