共用方式為


BasePropertyDeclarationSyntax.WithAttributeLists 方法

定義

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

參數

傳回

適用於