共用方式為


LocalFunctionStatementSyntax.WithAttributeLists 方法

定義

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

參數

傳回

適用於