ITagAggregator<T> Interface
Aggregates all the tag providers in a buffer graph for the specified type of tag.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
| Name | Description | |
|---|---|---|
![]() | BufferGraph | Gets the buffer graph over which this aggregator operates. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | (Inherited from IDisposable.) |
![]() | GetTags(IMappingSpan) | Gets all the tags that overlap or are contained by the specified span of the type of the aggregator. |
![]() | GetTags(NormalizedSnapshotSpanCollection) | Gets all the tags that overlap or are contained by the specified snapshotSpans of the type of the aggregator. |
![]() | GetTags(SnapshotSpan) | Gets all the tags that overlap or are contained by the specified span of the same type as the aggregator. |
| Name | Description | |
|---|---|---|
![]() | BatchedTagsChanged | Occurs on idle after one or more TagsChanged events. |
![]() | TagsChanged | Occurs when tags are added to or removed from providers. |
The default tag aggregator implementation also disposes disposable taggers:
for each ITagger<T> over which the default tag aggregator aggregates tags, if the tagger implements IDisposable, call Dispose() on it when the aggregator is disposed or when the taggers are dropped. For example, you should call Dispose() when the content type of a text buffer changes or when a buffer is removed from the buffer graph.
For more information about tagging, see the "Tags and Classifiers" section of Inside the Editor. For information about extending and adding tags, see the "Extending Tags" section of Editor Extension Points.


