IVsBrowseContainersList::FindContainer Method (array<VSCOMPONENTSELECTORDATA>^, UInt32)

 

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)

int FindContainer(
	array<VSCOMPONENTSELECTORDATA>^ pData,
	[OutAttribute] unsigned int% pulIndex
)

Parameters

pData
Type: array<Microsoft.VisualStudio.Shell.Interop::VSCOMPONENTSELECTORDATA>^

[in]  Pointer to a VSCOMPONENTSELECTORDATA structure describing the component.

pulIndex
Type: System::UInt32

[out]  Index of the container in an array of components.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell80.idl:

HRESULT IVsBrowseContainersList::FindContainer(
   [in] VSCOMPONENTSELECTORDATA * pData, 
   [out] ULONG * pulIndex
);
Return to top
Show: