IVsUICollection::GetItem Method (UInt32, IVsUIDataSource^)

 

Gets an item from the collection.

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

int GetItem(
	unsigned int nItem,
	[OutAttribute] IVsUIDataSource^% pVsUIDataSource
)

Parameters

nItem
Type: System::UInt32

[in] 0 based index of the item to return

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

[out] Location to return the requested item.

Return Value

Type: System::Int32

Returns S_OK if the item was returned.

Return to top
Show: