PropertyBlockSyntax.WithAccessors Method

Definition

Returns a copy of this with the Accessors property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::PropertyBlockSyntax ^ WithAccessors(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AccessorBlockSyntax ^> accessors);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.PropertyBlockSyntax WithAccessors (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax> accessors);
member this.WithAccessors : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.PropertyBlockSyntax
Public Function WithAccessors (accessors As SyntaxList(Of AccessorBlockSyntax)) As PropertyBlockSyntax

Parameters

Returns

Applies to