IVsUIDynamicCollection::InsertItem Method (UInt32, IVsUIDataSource^)

 

Adds an item to the collection.

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

int InsertItem(
	unsigned int nIndex,
	IVsUIDataSource^ pItem
)

Parameters

nIndex
Type: System::UInt32

[in] The position for the new item.

pItem
Type: Microsoft.VisualStudio.Shell.Interop::IVsUIDataSource^

[in] The item to add.

Return Value

Type: System::Int32

Returns S_OK if the item was added.

Return to top
Show: