共用方式為


IVsUICollectionChangeEvents.OnAfterItemAdded(IVsUICollection, UInt32) Method

Definition

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

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

Parameters

pCollection
IVsUICollection

[in] The collection that changed.

nItem
UInt32

[in] The zero-based index of the item in the collections that was added.

Returns

Ignored.

Applies to