IVsUICollection.GetItem(UInt32, IVsUIDataSource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an item from the collection.
public:
int GetItem(System::UInt32 nItem, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIDataSource ^ % pVsUIDataSource);
public:
int GetItem(unsigned int nItem, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIDataSource ^ & pVsUIDataSource);
int GetItem(unsigned int nItem, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIDataSource const & & pVsUIDataSource);
public int GetItem (uint nItem, out Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource pVsUIDataSource);
abstract member GetItem : uint32 * IVsUIDataSource -> int
Public Function GetItem (nItem As UInteger, ByRef pVsUIDataSource As IVsUIDataSource) As Integer
Parameters
- nItem
- UInt32
[in] 0 based index of the item to return
- pVsUIDataSource
- IVsUIDataSource
[out] Location to return the requested item.
Returns
Returns S_OK if the item was returned.