IVsBrowseContainersList.FindContainer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);