IVsUICollectionChangeEvents.OnAfterItemReplaced Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.