共用方式為


FileScopedNamespaceDeclarationSyntax.WithAttributeLists 方法

定義

public Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax WithAttributeLists (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists);
override this.WithAttributeLists : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax
Public Function WithAttributeLists (attributeLists As SyntaxList(Of AttributeListSyntax)) As FileScopedNamespaceDeclarationSyntax

參數

傳回

適用於