IVsUserContextItemCollection::Item Method (Object^, IVsUserContextItem^)
Visual Studio 2015
Retrieves an item from the collection according to a VARIANT index.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- index
-
Type:
System::Object^
[in] A variant. The index of the item to retrieve.
- 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::Item(
[in] VARIANT index,
[out,retval] IVsUserContextItem ** ppItem
);
Show: