共用方式為


CSharpSyntaxRewriter.VisitNamespaceDeclaration 方法

定義

public:
 override Microsoft::CodeAnalysis::SyntaxNode ^ VisitNamespaceDeclaration(Microsoft::CodeAnalysis::CSharp::Syntax::NamespaceDeclarationSyntax ^ node);
public override Microsoft.CodeAnalysis.SyntaxNode VisitNamespaceDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax node);
public override Microsoft.CodeAnalysis.SyntaxNode? VisitNamespaceDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax node);
override this.VisitNamespaceDeclaration : Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax -> Microsoft.CodeAnalysis.SyntaxNode
Public Overrides Function VisitNamespaceDeclaration (node As NamespaceDeclarationSyntax) As SyntaxNode

參數

傳回

適用於