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)
Syntax
'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("D47ABBE0-4E31-424D-8DC9-31DE024E75E7")> _
Public Interface IVsUICollectionChangeEvents _
Inherits IVsUIEventSink
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("D47ABBE0-4E31-424D-8DC9-31DE024E75E7")]
public interface IVsUICollectionChangeEvents : IVsUIEventSink
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"D47ABBE0-4E31-424D-8DC9-31DE024E75E7")]
public interface class IVsUICollectionChangeEvents : IVsUIEventSink
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("D47ABBE0-4E31-424D-8DC9-31DE024E75E7")>]
type IVsUICollectionChangeEvents =
interface
interface IVsUIEventSink
end
public interface IVsUICollectionChangeEvents extends IVsUIEventSink
The IVsUICollectionChangeEvents type exposes the following members.
Methods
Name | Description | |
---|---|---|
Disconnect | Disconnects from the datasource. | |
OnAfterItemAdded | Fired after a new item has been added to the collection. | |
OnAfterItemRemoved | Fired after an item has been removed from the collection. | |
OnAfterItemReplaced | Fired after an item is updated. | |
OnInvalidateAllItems | Fired if the entire collection has been cleared or refreshed. |
Top
Remarks
This interface is implemented by programs that would like to be informed when a collection changes. It is registered using the IVsUICollection interface.