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.
A provider of tags over a buffer.
generic <typename T> where T : ITagpublic interface class ITagger
public interface ITagger<out T> where T : ITag
type ITagger<'T (requires 'T :> ITag)> = interface
Public Interface ITagger(Of Out 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.
For examples of using this interface, see the following walkthroughs:
Walkthrough: Highlighting Text
Walkthrough: Displaying Matching Braces
Walkthrough: Displaying SmartTags
Walkthrough: Creating a Margin Glyph
For more information about tagging, see the "Tags and Classifiers" section of Inside the Editor. For information about extending and adding tags, see the "Extending Tags" section of Language Service and Editor Extension Points.
Gets all the tags that intersect the
Occurs when tags are added to or removed from the provider.