Bagikan melalui


IVsUICollectionChangeEvents Interface

Recieves notifications when a collection changes.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  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
Public method Disconnect Disconnects from the datasource.
Public method OnAfterItemAdded
Public method OnAfterItemRemoved
Public method OnAfterItemReplaced
Public method OnInvalidateAllItems

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace