共用方式為


TextViewEditResponse(ITextViewSnapshot, EditResult) Constructor

Definition

Initializes a new instance of the TextViewEditResponse class.

public TextViewEditResponse (Microsoft.VisualStudio.Extensibility.Editor.ITextViewSnapshot after, Microsoft.VisualStudio.RpcContracts.Editor.EditResult editResult);
new Microsoft.VisualStudio.Extensibility.Editor.TextViewEditResponse : Microsoft.VisualStudio.Extensibility.Editor.ITextViewSnapshot * Microsoft.VisualStudio.RpcContracts.Editor.EditResult -> Microsoft.VisualStudio.Extensibility.Editor.TextViewEditResponse
Public Sub New (after As ITextViewSnapshot, editResult As EditResult)

Parameters

after
ITextViewSnapshot

The ITextViewSnapshot version after the changes were applied.

editResult
Microsoft.VisualStudio.RpcContracts.Editor.EditResult

The result of the edit operation.

Applies to