共用方式為


IVsUICollectionChangeEvents.OnAfterItemRemoved Method

Definition

Fired after an item has been removed from the collection.

public:
 int OnAfterItemRemoved(Microsoft::VisualStudio::Shell::Interop::IVsUICollection ^ pCollection, Microsoft::VisualStudio::Shell::Interop::IVsUIDataSource ^ pRemovedItem, System::UInt32 nItem);
public:
 int OnAfterItemRemoved(Microsoft::VisualStudio::Shell::Interop::IVsUICollection ^ pCollection, Microsoft::VisualStudio::Shell::Interop::IVsUIDataSource ^ pRemovedItem, unsigned int nItem);
int OnAfterItemRemoved(Microsoft::VisualStudio::Shell::Interop::IVsUICollection const & pCollection, Microsoft::VisualStudio::Shell::Interop::IVsUIDataSource const & pRemovedItem, unsigned int nItem);
public int OnAfterItemRemoved (Microsoft.VisualStudio.Shell.Interop.IVsUICollection pCollection, Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource pRemovedItem, uint nItem);
abstract member OnAfterItemRemoved : Microsoft.VisualStudio.Shell.Interop.IVsUICollection * Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource * uint32 -> int
Public Function OnAfterItemRemoved (pCollection As IVsUICollection, pRemovedItem As IVsUIDataSource, nItem As UInteger) As Integer

Parameters

pCollection
IVsUICollection

[in] The collection that changed.

pRemovedItem
IVsUIDataSource

[in] The item that was removed.

nItem
UInt32

[in] The zero-based index for the item that was removed.

Returns

Ignored.

Applies to