IViewTaggerProvider.CreateTagger(ITextView, ITextBuffer) Method

Definition

Creates a tag provider for the specified view and buffer.

public Microsoft.VisualStudio.Text.Tagging.ITagger<T> CreateTagger<T> (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.ITextBuffer buffer) where T : Microsoft.VisualStudio.Text.Tagging.ITag;
Type Parameters
T

The type of the tag.

Parameters
textView
ITextView

The ITextView.

buffer
ITextBuffer

The ITextBuffer.

Returns

The ITagAggregator<T> of the correct type for textView.

Applies to