Share via


IVsBrowseContainersList.GetContainerData Method

Definition

Provides data about a component found using FindContainer(VSCOMPONENTSELECTORDATA[], UInt32).

public:
 int GetContainerData(System::UInt32 ulIndex, cli::array <Microsoft::VisualStudio::Shell::Interop::VSCOMPONENTSELECTORDATA> ^ pData);
int GetContainerData(unsigned int ulIndex, std::Array <Microsoft::VisualStudio::Shell::Interop::VSCOMPONENTSELECTORDATA> const & pData);
public int GetContainerData (uint ulIndex, Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[] pData);
abstract member GetContainerData : uint32 * Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[] -> int
Public Function GetContainerData (ulIndex As UInteger, pData As VSCOMPONENTSELECTORDATA()) As Integer

Parameters

ulIndex
UInt32

[in]  Index of the container returned by FindContainer(VSCOMPONENTSELECTORDATA[], UInt32).

pData
VSCOMPONENTSELECTORDATA[]

[out]  A VSCOMPONENTSELECTORDATA structure describing the component.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsBrowseContainersList::GetContainerData(  
   [in] ULONG ulIndex,   
   [out] VSCOMPONENTSELECTORDATA * pData  
);  

Applies to