共用方式為


UsingStatementSyntax.WithAttributeLists 方法

定義

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

參數

傳回

適用於