Share via


AccessorListSyntax.WithAccessors Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::AccessorListSyntax ^ WithAccessors(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AccessorDeclarationSyntax ^> accessors);
public Microsoft.CodeAnalysis.CSharp.Syntax.AccessorListSyntax WithAccessors (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax> accessors);
member this.WithAccessors : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.AccessorListSyntax
Public Function WithAccessors (accessors As SyntaxList(Of AccessorDeclarationSyntax)) As AccessorListSyntax

Parameters

Returns

Applies to