共用方式為


BlockSyntax.WithAttributeLists(SyntaxList<AttributeListSyntax>) 方法

定義

public Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax 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.BlockSyntax
Public Function WithAttributeLists (attributeLists As SyntaxList(Of AttributeListSyntax)) As BlockSyntax

參數

傳回

適用於