This topic has not yet been rated - Rate this topic

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)
ITagAggregator<T> CreateTagAggregator<T>(
	ITextBuffer textBuffer,
	TagAggregatorOptions options
where T : ITag

Type Parameters


The type of tag to aggregate.


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.

Type: Microsoft.VisualStudio.Text.Tagging.TagAggregatorOptions

The options to use for the newly created aggregator.

Return Value

Type: Microsoft.VisualStudio.Text.Tagging.ITagAggregator<T>
The tag aggregator.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.