Compartir a través de


IBufferTagAggregatorFactoryService.CreateTagAggregator<T> Method (ITextBuffer, TagAggregatorOptions)

Creates a tag aggregator for the specified text buffer using the given options.

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

Syntax

'Declaración
Function CreateTagAggregator(Of T As ITag) ( _
    textBuffer As ITextBuffer, _
    options As TagAggregatorOptions _
) As ITagAggregator(Of T)
ITagAggregator<T> CreateTagAggregator<T>(
    ITextBuffer textBuffer,
    TagAggregatorOptions options
)
where T : ITag
generic<typename T>
where T : ITag
ITagAggregator<T>^ CreateTagAggregator(
    ITextBuffer^ textBuffer, 
    TagAggregatorOptions options
)
abstract CreateTagAggregator : 
        textBuffer:ITextBuffer * 
        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 tag aggregator.

.NET Framework Security

See Also

Reference

IBufferTagAggregatorFactoryService Interface

CreateTagAggregator Overload

Microsoft.VisualStudio.Text.Tagging Namespace