共用方式為


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
)
abstract GetContainerData : 
        ulIndex:uint32 * 
        pData:VSCOMPONENTSELECTORDATA[] byref -> int 
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
);

.NET Framework Security

See Also

Reference

IVsBrowseContainersList Interface

IVsBrowseContainersList Members

Microsoft.VisualStudio.Shell.Interop Namespace