Delen via


IVsUICollectionChangeEvents.OnAfterItemAdded Method

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

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 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: UInt32

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

Return Value

Type: Int32
Ignored.

.NET Framework Security

See Also

Reference

IVsUICollectionChangeEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace