共用方式為


IAccurateTagger<T> Interface

Definition

A provider of tags over a buffer.

generic <typename T>
 where T : ITagpublic interface class IAccurateTagger : Microsoft::VisualStudio::Text::Tagging::ITagger<T>
public interface IAccurateTagger<out T> : Microsoft.VisualStudio.Text.Tagging.ITagger<out T> where T : ITag
type IAccurateTagger<'T (requires 'T :> ITag)> = interface
    interface ITagger<'T (requires 'T :> ITag)>
Public Interface IAccurateTagger(Of Out T)
Implements ITagger(Of Out T)

Type Parameters

T

The type of tags to generate.

This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Implements

Methods

GetAllTags(NormalizedSnapshotSpanCollection, CancellationToken)

Gets all the tags that intersect the spans.

GetTags(NormalizedSnapshotSpanCollection)

Gets all the tags that intersect the spans.

(Inherited from ITagger<T>)

Events

TagsChanged

Occurs when tags are added to or removed from the provider.

(Inherited from ITagger<T>)

Applies to