Share via


IBufferTagAggregatorFactoryService.CreateTagAggregator<T> Method (ITextBuffer)

Creates a tag aggregator for the specified text buffer.

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

Syntax

'Declaration
Function CreateTagAggregator(Of T As ITag) ( _
    textBuffer As ITextBuffer _
) As ITagAggregator(Of T)
ITagAggregator<T> CreateTagAggregator<T>(
    ITextBuffer textBuffer
)
where T : ITag
generic<typename T>
where T : ITag 
ITagAggregator<T>^ CreateTagAggregator(
    ITextBuffer^ textBuffer
)
abstract CreateTagAggregator : 
        textBuffer:ITextBuffer -> 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 tag aggregator.

.NET Framework Security

See Also

Reference

IBufferTagAggregatorFactoryService Interface

CreateTagAggregator Overload

Microsoft.VisualStudio.Text.Tagging Namespace