IViewTaggerProvider::CreateTagger<T> Method (ITextView^, ITextBuffer^)
Visual Studio 2015
Creates a tag provider for the specified view and buffer.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
generic<typename T> where T : ITag ITagger<T>^ CreateTagger( ITextView^ textView, ITextBuffer^ buffer )
Parameters
- textView
-
Type:
Microsoft.VisualStudio.Text.Editor::ITextView^
The ITextView.
- buffer
-
Type:
Microsoft.VisualStudio.Text::ITextBuffer^
The ITextBuffer.
Return Value
Type: Microsoft.VisualStudio.Text.Tagging::ITagger<T>^The ITagAggregator<T> of the correct type for textView.
Type Parameters
- T
The type of the tag.
Show: