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

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.

options
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
Show:
© 2014 Microsoft. All rights reserved.