Share via


FileScopedNamespaceDeclarationSyntax.WithName(NameSyntax) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax WithName (Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name);
override this.WithName : Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax
Public Function WithName (name As NameSyntax) As FileScopedNamespaceDeclarationSyntax

Parameters

name
NameSyntax

Returns

Applies to