IViewTaggerProvider::CreateTagger<T> Method (ITextView^, ITextBuffer^)

 

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)

generic<typename T>
where T : ITag
ITagger<T>^ CreateTagger(
	ITextView^ textView,
	ITextBuffer^ buffer
)

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.

Return to top
Show: