IViewTagAggregatorFactoryService.CreateTagAggregator<T> Method (ITextView, TagAggregatorOptions)

Creates a tag aggregator for the specified ITextView and with the given options that aggregates tags of the given type.

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

Syntax

'Declaration
Function CreateTagAggregator(Of T As ITag) ( _
    textView As ITextView, _
    options As TagAggregatorOptions _
) As ITagAggregator(Of T)
ITagAggregator<T> CreateTagAggregator<T>(
    ITextView textView,
    TagAggregatorOptions options
)
where T : ITag
generic<typename T>
where T : ITag 
ITagAggregator<T>^ CreateTagAggregator(
    ITextView^ textView, 
    TagAggregatorOptions options
)
abstract CreateTagAggregator : 
        textView:ITextView * 
        options:TagAggregatorOptions -> ITagAggregator<'T>  when 'T : ITag
JScript does not support generic types or methods.

Type Parameters

  • T
    The type of tag to aggregate.

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IViewTagAggregatorFactoryService Interface

CreateTagAggregator Overload

Microsoft.VisualStudio.Text.Tagging Namespace