次の方法で共有


FileScopedNamespaceDeclarationSyntax.WithNamespaceKeyword(SyntaxToken) Method

Definition

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

Parameters

namespaceKeyword
SyntaxToken

Returns

Applies to