Share via


IVsBrowseContainersList.FindContainer Method

Definition

Finds a container of a component.

public:
 int FindContainer(cli::array <Microsoft::VisualStudio::Shell::Interop::VSCOMPONENTSELECTORDATA> ^ pData, [Runtime::InteropServices::Out] System::UInt32 % pulIndex);
int FindContainer(std::Array <Microsoft::VisualStudio::Shell::Interop::VSCOMPONENTSELECTORDATA> const & pData, [Runtime::InteropServices::Out] unsigned int & pulIndex);
public int FindContainer (Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[] pData, out uint pulIndex);
abstract member FindContainer : Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[] * uint32 -> int
Public Function FindContainer (pData As VSCOMPONENTSELECTORDATA(), ByRef pulIndex As UInteger) As Integer

Parameters

pData
VSCOMPONENTSELECTORDATA[]

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

pulIndex
UInt32

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

Returns

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  
);  

Applies to