Partager via


IVsUICollectionChangeEvents.OnAfterItemReplaced Method

Fired after an item is updated.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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: UInt32

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

Return Value

Type: Int32
Ignored.

.NET Framework Security

See Also

Reference

IVsUICollectionChangeEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace