共用方式為


MethodDeclarationSyntax.AddBodyAttributeLists(AttributeListSyntax[]) Method

Definition

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

Parameters

Returns

Applies to