Freigeben über


NamespaceDeclarationSyntax.WithNamespaceKeyword(SyntaxToken) Methode

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

Parameter

namespaceKeyword
SyntaxToken

Gibt zurück

Gilt für: