Compartir a través de


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

'Declaration
Function GetContainerData ( _
    ulIndex As UInteger, _
    <OutAttribute> pData As VSCOMPONENTSELECTORDATA() _
) As Integer
int GetContainerData(
    uint ulIndex,
    VSCOMPONENTSELECTORDATA[] pData
)
int GetContainerData(
    [InAttribute] unsigned int ulIndex, 
    [OutAttribute] array<VSCOMPONENTSELECTORDATA>^ pData
)
abstract GetContainerData : 
        ulIndex:uint32 * 
        pData:VSCOMPONENTSELECTORDATA[] byref -> int
function GetContainerData(
    ulIndex : uint, 
    pData : VSCOMPONENTSELECTORDATA[]
) : int

Parameters

  • ulIndex
    Type: UInt32

    [in]  Index of the container returned by FindContainer.

Return Value

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

.NET Framework Security

See Also

Reference

IVsBrowseContainersList Interface

Microsoft.VisualStudio.Shell.Interop Namespace