共用方式為


NamespaceDeclarationSyntax.AddAttributeLists(AttributeListSyntax[]) Method

Definition

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

Parameters

Returns

Applies to