Share via


TextDocumentSnapshotEditResponse Class

Definition

Describes the outcome of a call to EditAsync(Action<IEditBatch>, CancellationToken) for changes to a particular ITextDocumentSnapshot in the host Visual Studio process.

public sealed class TextDocumentSnapshotEditResponse
type TextDocumentSnapshotEditResponse = class
Public NotInheritable Class TextDocumentSnapshotEditResponse
Inheritance
TextDocumentSnapshotEditResponse

Constructors

TextDocumentSnapshotEditResponse(ITextDocumentSnapshot, EditResult)

Initializes a new instance of the TextDocumentSnapshotEditResponse class.

Properties

After

Gets the ITextDocumentSnapshot version after the changes were applied.

EditResult

Gets or sets the result of the edit operation. Microsoft.VisualStudio.RpcContracts.Editor.EditResult.Success if all changes were applied successfully to the target ITextDocumentSnapshot.

Applies to