Partager via


IVsUICollection.GetItem(UInt32, IVsUIDataSource) Method

Definition

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.

Applies to