IVsBrowseContainersList.GetContainerData Method

Provides data about a component found using FindContainer.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣言
Function GetContainerData ( _
    ulIndex As UInteger, _
    <OutAttribute> pData As VSCOMPONENTSELECTORDATA() _
) As Integer
'使用
Dim instance As IVsBrowseContainersList
Dim ulIndex As UInteger
Dim pData As VSCOMPONENTSELECTORDATA()
Dim returnValue As Integer

returnValue = instance.GetContainerData(ulIndex, _
    pData)
int GetContainerData(
    uint ulIndex,
    VSCOMPONENTSELECTORDATA[] pData
)
int GetContainerData(
    [InAttribute] unsigned int ulIndex, 
    [OutAttribute] array<VSCOMPONENTSELECTORDATA>^ pData
)
function GetContainerData(
    ulIndex : uint, 
    pData : VSCOMPONENTSELECTORDATA[]
) : int

Parameters

Return Value

Type: System.Int32

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
);

Permissions

See Also

Reference

IVsBrowseContainersList Interface

IVsBrowseContainersList Members

Microsoft.VisualStudio.Shell.Interop Namespace