EditResponse.DocumentEditResults Property

Definition

Gets or sets per-document operation results including per document errors and updated ITextDocumentSnapshot versions.

public System.Collections.Generic.IReadOnlyDictionary<Microsoft.VisualStudio.Extensibility.Editor.ITextDocumentSnapshot,Microsoft.VisualStudio.Extensibility.Editor.TextDocumentSnapshotEditResponse>? DocumentEditResults { get; set; }
member this.DocumentEditResults : System.Collections.Generic.IReadOnlyDictionary<Microsoft.VisualStudio.Extensibility.Editor.ITextDocumentSnapshot, Microsoft.VisualStudio.Extensibility.Editor.TextDocumentSnapshotEditResponse> with get, set
Public Property DocumentEditResults As IReadOnlyDictionary(Of ITextDocumentSnapshot, TextDocumentSnapshotEditResponse)

Property Value

Remarks

Key of dictionary is the version of the document prior to the edits. Microsoft.VisualStudio.RpcContracts.Editor.TextDocumentEditResponseContract.After contains the updated document version.

Applies to