BaseMethodDeclarationSyntax.WithAttributeLists 方法

定义

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::BaseMethodDeclarationSyntax ^ WithAttributeLists(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists);
public Microsoft.CodeAnalysis.CSharp.Syntax.BaseMethodDeclarationSyntax WithAttributeLists (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists);
member this.WithAttributeLists : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.BaseMethodDeclarationSyntax
override this.WithAttributeLists : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.BaseMethodDeclarationSyntax
Public Function WithAttributeLists (attributeLists As SyntaxList(Of AttributeListSyntax)) As BaseMethodDeclarationSyntax

参数

返回

适用于