IViewTaggerProvider Interface

Creates an ITagger<T> for a given buffer.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)


Public Interface IViewTaggerProvider
public interface IViewTaggerProvider
public interface class IViewTaggerProvider
type IViewTaggerProvider =  interface end
public interface IViewTaggerProvider

The IViewTaggerProvider type exposes the following members.


  Name Description
Public method CreateTagger<T> Creates a tag provider for the specified view and buffer.



This is a MEF component part, and implementers must use the following attributes:


Exports must specify at least one content type attribute and at least one tag type attribute.

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 Editor Extension Points.


For examples of using this interface, see the following walkthroughs:

Walkthrough: Highlighting Text

Walkthrough: Displaying Matching Braces

Walkthrough: Displaying SmartTags

See Also


Microsoft.VisualStudio.Text.Tagging Namespace