IVsUIDynamicCollection::ReplaceItem Method (UInt32, IVsUIDataSource^)

 

Replaces an item in the colleciton.

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

int ReplaceItem(
	unsigned int nIndex,
	IVsUIDataSource^ pItem
)

Parameters

nIndex
Type: System::UInt32

[in] The 0 based index of the item to replace.

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

[in] The new item.

Return Value

Type: System::Int32

Returns S_OK if the item was replaced.

Return to top
Show: