다음을 통해 공유


TextViewTagger<T>.GetAllRequestedRangesAsync Method

Definition

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.

Applies to