다음을 통해 공유


TextViewTagger<T> Class

Definition

Base class for a tagger that provides tags for a text view.

public abstract class TextViewTagger<T> : IDisposable where T : ITag
type TextViewTagger<'T (requires 'T :> ITag)> = class
    interface IDisposable
Public MustInherit Class TextViewTagger(Of T)
Implements IDisposable

Type Parameters

T

The type of tags generated by this tagger.

Inheritance
TextViewTagger<T>
Implements

Constructors

TextViewTagger<T>()

Initializes a new instance of the TextViewTagger<T> class.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetAllRequestedRangesAsync(ITextDocumentSnapshot, CancellationToken)

Gets all the ranges for which tags have been requested so far.

RequestTagsAsync(NormalizedTextRangeCollection, Boolean, CancellationToken)

Requests the tagger to generate tags for the specified ranges.

UpdateTagsAsync(IReadOnlyCollection<TextRange>, IEnumerable<TaggedTrackingTextRange<T>>, CancellationToken)

Communicates to Visual Studio that new tags are available.

Applies to