共用方式為


FileScopedNamespaceDeclarationSyntax.AddAttributeLists 方法

定義

public Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax AddAttributeLists (params Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax[] items);
override this.AddAttributeLists : Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax[] -> Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax
Public Function AddAttributeLists (ParamArray items As AttributeListSyntax()) As FileScopedNamespaceDeclarationSyntax

參數

傳回

適用於