Share via


IVsUICollectionChangeEvents.OnAfterItemAdded Method

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

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 OnAfterItemAdded ( _
    pCollection As IVsUICollection, _
    nItem As UInteger _
) As Integer
int OnAfterItemAdded(
    IVsUICollection pCollection,
    uint nItem
)
int OnAfterItemAdded(
    [InAttribute] IVsUICollection^ pCollection, 
    [InAttribute] unsigned int nItem
)
abstract OnAfterItemAdded : 
        pCollection:IVsUICollection * 
        nItem:uint32 -> int
function OnAfterItemAdded(
    pCollection : IVsUICollection, 
    nItem : uint
) : int

Parameters

  • nItem
    Type: System.UInt32

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

Return Value

Type: System.Int32
Ignored.

.NET Framework Security

See Also

Reference

IVsUICollectionChangeEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace