Delen via


ProposalBase.Edits Property

Definition

A list of edits that will be applied if the proposal is accepted.

public abstract System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Language.Proposals.ProposedEdit> Edits { get; }
member this.Edits : System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Language.Proposals.ProposedEdit>
Public MustOverride ReadOnly Property Edits As IReadOnlyList(Of ProposedEdit)

Property Value

Remarks

All edits will be automatically updated as the user changes the buffer. If the user changes the buffer in a way this is incompatible with the proposed edit, then the proposal will be removed and OnProposalUpdatedAsync(SuggestionSessionBase, ProposalBase, ProposalBase, ReasonForUpdate, VirtualSnapshotPoint, CompletionState, CancellationToken) will be called with a Diverged.

Applies to