次の方法で共有


IVsUICollectionChangeEvents.OnAfterItemReplaced Method

Definition

Fired after an item is updated.

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

Parameters

pCollection
IVsUICollection

[in] The collection that was changed.

pNewItem
IVsUIDataSource

[in] The new item.

pOldItem
IVsUIDataSource

[in] The replaced item.

nItem
UInt32

[in] The zero-based index of the item that changed.

Returns

Ignored.

Applies to