ProposalBase.Edits 屬性

定義

如果接受提案,將會套用的編輯清單。

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)

屬性值

備註

當使用者變更緩衝區時,所有編輯都會自動更新。 如果使用者以與建議的編輯不相容的方式變更緩衝區,則會移除提案,並使用 OnProposalUpdatedAsync(SuggestionSessionBase, ProposalBase, ProposalBase, ReasonForUpdate, VirtualSnapshotPoint, CompletionState, CancellationToken) 呼叫 Diverged

適用於