Share via


ITextViewChangedListener.TextViewChangedAsync Method

Definition

Called when an ITextViewSnapshot with matching document type is changed.

public System.Threading.Tasks.Task TextViewChangedAsync (Microsoft.VisualStudio.Extensibility.Editor.TextViewChangedArgs args, System.Threading.CancellationToken cancellationToken);
abstract member TextViewChangedAsync : Microsoft.VisualStudio.Extensibility.Editor.TextViewChangedArgs * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function TextViewChangedAsync (args As TextViewChangedArgs, cancellationToken As CancellationToken) As Task

Parameters

args
TextViewChangedArgs

The TextViewChangedArgs containing the event data.

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests.

Returns

A Task representing the asynchronous operation.

Applies to