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
- ulIndex
Type: System.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: 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
- 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.
See Also
Reference
IVsBrowseContainersList Interface