Export (0) Print
Expand All

IVsUICollectionChangeEvents Interface

Recieves notifications when a collection changes.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

public interface IVsUICollectionChangeEvents : IVsUIEventSink

The IVsUICollectionChangeEvents type exposes the following members.

Public methodDisconnectDisconnects from the datasource.
Public methodOnAfterItemAddedFired after a new item has been added to the collection.
Public methodOnAfterItemRemovedFired after an item has been removed from the collection.
Public methodOnAfterItemReplacedFired after an item is updated.
Public methodOnInvalidateAllItemsFired if the entire collection has been cleared or refreshed.

This interface is implemented by programs that would like to be informed when a collection changes. It is registered using the IVsUICollection interface.

© 2014 Microsoft