IVsBrowseContainersList.FindContainer Method
Finds a container of a component.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function FindContainer ( _
pData As VSCOMPONENTSELECTORDATA(), _
<OutAttribute> ByRef pulIndex As UInteger _
) As Integer
int FindContainer(
VSCOMPONENTSELECTORDATA[] pData,
out uint pulIndex
)
int FindContainer(
[InAttribute] array<VSCOMPONENTSELECTORDATA>^ pData,
[OutAttribute] unsigned int% pulIndex
)
abstract FindContainer :
pData:VSCOMPONENTSELECTORDATA[] *
pulIndex:uint32 byref -> int
function FindContainer(
pData : VSCOMPONENTSELECTORDATA[],
pulIndex : uint
) : int
Parameters
pData
Type: array<Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[][in] Pointer to a VSCOMPONENTSELECTORDATA structure describing the component.
pulIndex
Type: UInt32%[out] Index of the container in an array of components.
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::FindContainer(
[in] VSCOMPONENTSELECTORDATA * pData,
[out] ULONG * pulIndex
);
.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.