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.
pData
Type: array<Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[][out] A VSCOMPONENTSELECTORDATA structure describing the component.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.