次の方法で共有


IVsUIDynamicCollection.GetItem(UInt32, IVsUIDataSource) Method

Definition

Returns 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] The index of the item to return.

pVsUIDataSource
IVsUIDataSource

[out] Location to return the data source from the collection.

Returns

Return S_OK if the item was returned.

Implements

Applies to