TextViewTagger<T>.GetAllRequestedRangesAsync 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.
Gets all the ranges for which tags have been requested so far.
protected System.Threading.Tasks.Task<Microsoft.VisualStudio.Extensibility.Editor.NormalizedTextRangeCollection> GetAllRequestedRangesAsync (Microsoft.VisualStudio.Extensibility.Editor.ITextDocumentSnapshot textDocumentSnapshot, System.Threading.CancellationToken cancellationToken);
member this.GetAllRequestedRangesAsync : Microsoft.VisualStudio.Extensibility.Editor.ITextDocumentSnapshot * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Extensibility.Editor.NormalizedTextRangeCollection>
Protected Function GetAllRequestedRangesAsync (textDocumentSnapshot As ITextDocumentSnapshot, cancellationToken As CancellationToken) As Task(Of NormalizedTextRangeCollection)
Parameters
- textDocumentSnapshot
- ITextDocumentSnapshot
The document snapshot for which the ranges should be returned.
- cancellationToken
- CancellationToken
Cancellation token for the async call.
Returns
All the ranges for which tags have been requested so far.