FileScopedNamespaceDeclarationSyntax.WithName(NameSyntax) 方法

定义

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

参数

name
NameSyntax

返回

适用于