다음을 통해 공유


NamespaceDeclarationSyntax.WithName(NameSyntax) Method

Definition

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

Parameters

name
NameSyntax

Returns

Applies to