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

Type Parameters

T

The type of tag to aggregate.

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft