CreateTagger(T) Method
Collapse the table of content
Expand the table of content

IViewTaggerProvider.CreateTagger<T> Method

Creates a tag provider for the specified view and buffer.

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

ITagger<T> CreateTagger<T>(
	ITextView textView,
	ITextBuffer buffer
where T : ITag

Type Parameters


The type of the tag.

Return Value

Type: Microsoft.VisualStudio.Text.Tagging.ITagger<T>
The ITagAggregator<T> of the correct type for textView.

Community Additions

© 2016 Microsoft