Partager via


BaseFieldDeclarationSyntax.WithAttributeLists Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::BaseFieldDeclarationSyntax ^ WithAttributeLists(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^> attributeLists);
public Microsoft.CodeAnalysis.CSharp.Syntax.BaseFieldDeclarationSyntax 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.BaseFieldDeclarationSyntax
override this.WithAttributeLists : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.BaseFieldDeclarationSyntax
Public Function WithAttributeLists (attributeLists As SyntaxList(Of AttributeListSyntax)) As BaseFieldDeclarationSyntax

Parameters

Returns

Applies to