Share via


BaseNamespaceDeclarationSyntax.WithNamespaceKeyword(SyntaxToken) Method

Definition

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

Parameters

namespaceKeyword
SyntaxToken

Returns

Applies to