Compartilhar via


IVsUICollectionChangeEvents Interface

Definition

Recieves notifications when a collection changes.

public interface class IVsUICollectionChangeEvents : Microsoft::VisualStudio::Shell::Interop::IVsUIEventSink
public interface class IVsUICollectionChangeEvents : Microsoft::VisualStudio::Shell::Interop::IVsUIEventSink
__interface IVsUICollectionChangeEvents : Microsoft::VisualStudio::Shell::Interop::IVsUIEventSink
public interface IVsUICollectionChangeEvents : Microsoft.VisualStudio.Shell.Interop.IVsUIEventSink
[System.Runtime.InteropServices.Guid("D47ABBE0-4E31-424D-8DC9-31DE024E75E7")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUICollectionChangeEvents : Microsoft.VisualStudio.Shell.Interop.IVsUIEventSink
type IVsUICollectionChangeEvents = interface
    interface IVsUIEventSink
[<System.Runtime.InteropServices.Guid("D47ABBE0-4E31-424D-8DC9-31DE024E75E7")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUICollectionChangeEvents = interface
    interface IVsUIEventSink
Public Interface IVsUICollectionChangeEvents
Implements IVsUIEventSink
Attributes
Implements

Remarks

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

Methods

Disconnect(IVsUISimpleDataSource)

Disconnects from the datasource.

OnAfterItemAdded(IVsUICollection, UInt32)

Fired after a new item has been added to the collection.

OnAfterItemRemoved(IVsUICollection, IVsUIDataSource, UInt32)

Fired after an item has been removed from the collection.

OnAfterItemReplaced(IVsUICollection, IVsUIDataSource, IVsUIDataSource, UInt32)

Fired after an item is updated.

OnInvalidateAllItems(IVsUICollection)

Fired if the entire collection has been cleared or refreshed.

Applies to