IVsUserContextItemCollection::ItemAt Method (Int32, IVsUserContextItem^)
Visual Studio 2015
Retrieves an item from the collection by integer index.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- index
-
Type:
System::Int32
[in] Long integer. The index of the item.
- ppItem
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsUserContextItem^
[out] Pointer to a IVsUserContextItem interface giving access to the item.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From context.idl:
HRESULT IVsUserContextItemCollection::ItemAt( [in] long index, [out, retval] IVsUserContextItem ** ppItem );
Show: