IVsBrowseContainersList.GetContainerData 方法

定义

提供有关使用找到的组件的数据 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

参数

ulIndex
UInt32

中 返回的容器的索引 FindContainer(VSCOMPONENTSELECTORDATA[], UInt32)

pData
VSCOMPONENTSELECTORDATA[]

VSCOMPONENTSELECTORDATA 描述组件的结构。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell80:

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

适用于