Share via


IVsUICollectionChangeEvents.OnAfterItemReplaced Method

Fired after an item is updated.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function OnAfterItemReplaced ( _
    pCollection As IVsUICollection, _
    pNewItem As IVsUIDataSource, _
    pOldItem As IVsUIDataSource, _
    nItem As UInteger _
) As Integer
int OnAfterItemReplaced(
    IVsUICollection pCollection,
    IVsUIDataSource pNewItem,
    IVsUIDataSource pOldItem,
    uint nItem
)
int OnAfterItemReplaced(
    [InAttribute] IVsUICollection^ pCollection, 
    [InAttribute] IVsUIDataSource^ pNewItem, 
    [InAttribute] IVsUIDataSource^ pOldItem, 
    [InAttribute] unsigned int nItem
)
abstract OnAfterItemReplaced : 
        pCollection:IVsUICollection * 
        pNewItem:IVsUIDataSource * 
        pOldItem:IVsUIDataSource * 
        nItem:uint32 -> int
function OnAfterItemReplaced(
    pCollection : IVsUICollection, 
    pNewItem : IVsUIDataSource, 
    pOldItem : IVsUIDataSource, 
    nItem : uint
) : int

Parameters

  • nItem
    Type: System.UInt32

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

Return Value

Type: System.Int32
Ignored.

.NET Framework Security

See Also

Reference

IVsUICollectionChangeEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace