ITextViewChangedListener.TextViewChangedAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.