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)

ITagAggregator<T> CreateTagAggregator<T>(
	ITextBuffer textBuffer
)
where T : ITag

Parameters

textBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer

The ITextBuffer over which the aggregator should aggregate tags, including all source buffers if the buffer is a projection buffer.

Return Value

Type: Microsoft.VisualStudio.Text.Tagging.ITagAggregator<T>

The tag aggregator.

Type Parameters

T

The type of tag to aggregate.

Return to top
Show: