Freigeben über


ITagAggregator<T>.BatchedTagsChanged Event

Occurs on idle after one or more TagsChanged events.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
Event BatchedTagsChanged As EventHandler(Of BatchedTagsChangedEventArgs)
event EventHandler<BatchedTagsChangedEventArgs> BatchedTagsChanged
event EventHandler<BatchedTagsChangedEventArgs^>^ BatchedTagsChanged {
    void add (EventHandler<BatchedTagsChangedEventArgs^>^ value);
    void remove (EventHandler<BatchedTagsChangedEventArgs^>^ value);
}
abstract BatchedTagsChanged : IEvent<EventHandler<BatchedTagsChangedEventArgs>,
    BatchedTagsChangedEventArgs>
JScript does not support events.

Remarks

This is a batched version of the TagsChanged event. One or more TagsChanged events are accumulated and then raised as a single BatchedTagsChanged event on idle using the CurrentDispatcher that was active when the ITagAggregator<T> was created.

This event is less noisy than TagsChanged and is always raised on the thread that was active when the ITagAggregator<T> was created.

.NET Framework Security

See Also

Reference

ITagAggregator<T> Interface

Microsoft.VisualStudio.Text.Tagging Namespace