Share via


TextViewEditResponse Class

Definition

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

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

Constructors

TextViewEditResponse(ITextViewSnapshot, EditResult)

Initializes a new instance of the TextViewEditResponse class.

Properties

After

Gets the ITextViewSnapshot 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 ITextViewSnapshot.

Applies to