Partilhar via


EventBlockSyntax.WithAccessors(SyntaxList<AccessorBlockSyntax>) 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::EventBlockSyntax ^ WithAccessors(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AccessorBlockSyntax ^> accessors);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.EventBlockSyntax 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.EventBlockSyntax
Public Function WithAccessors (accessors As SyntaxList(Of AccessorBlockSyntax)) As EventBlockSyntax

Parameters

Returns

Applies to