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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft