NamespaceDeclarationSyntax.WithNamespaceKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::NamespaceDeclarationSyntax ^ WithNamespaceKeyword(Microsoft::CodeAnalysis::SyntaxToken namespaceKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax WithNamespaceKeyword (Microsoft.CodeAnalysis.SyntaxToken namespaceKeyword);
member this.WithNamespaceKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax
override this.WithNamespaceKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax
Public Function WithNamespaceKeyword (namespaceKeyword As SyntaxToken) As NamespaceDeclarationSyntax

Parameters

namespaceKeyword
SyntaxToken

Returns

Applies to