共用方式為


PropertyDeclarationSyntax.WithAccessorList(AccessorListSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::PropertyDeclarationSyntax ^ WithAccessorList(Microsoft::CodeAnalysis::CSharp::Syntax::AccessorListSyntax ^ accessorList);
public Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax WithAccessorList (Microsoft.CodeAnalysis.CSharp.Syntax.AccessorListSyntax accessorList);
public Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax WithAccessorList (Microsoft.CodeAnalysis.CSharp.Syntax.AccessorListSyntax? accessorList);
override this.WithAccessorList : Microsoft.CodeAnalysis.CSharp.Syntax.AccessorListSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax
Public Function WithAccessorList (accessorList As AccessorListSyntax) As PropertyDeclarationSyntax

Parameters

accessorList
AccessorListSyntax

Returns

Applies to