Поделиться через


NamespaceDeclarationSyntax.WithName(NameSyntax) Метод

Определение

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

Параметры

name
NameSyntax

Возвращаемое значение

Применяется к