ProposalBase.Edits Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.