ITagAggregator<T>.BatchedTagsChanged, événement

Se produit sur la inactive après un ou plusieurs événements TagsChanged.

Espace de noms :  Microsoft.VisualStudio.Text.Tagging
Assembly :  Microsoft.VisualStudio.Text.Logic (dans Microsoft.VisualStudio.Text.Logic.dll)

Syntaxe

'Déclaration
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 ne prend pas en charge les événements.

Notes

C'est une version par lot de l'événement d'TagsChanged. Un ou plusieurs événements d'TagsChanged sont accumulées puis déclenchés comme événement unique d'BatchedTagsChanged sur la inactive à l'aide de CurrentDispatcher qui était actif lorsque ITagAggregator<T> a été créé.

Cet événement est moins bruyant qu'TagsChanged et est toujours déclenché sur le thread qui était actif lorsque ITagAggregator<T> a été créé.

Sécurité .NET Framework

Voir aussi

Référence

ITagAggregator<T> Interface

Microsoft.VisualStudio.Text.Tagging, espace de noms