IVsSimpleBrowseComponentSet.FindComponent 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 component in the component set.
public:
int FindComponent(Guid % guidLib, cli::array <Microsoft::VisualStudio::Shell::Interop::VSCOMPONENTSELECTORDATA> ^ pcsdComponent, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsNavInfo ^ % ppRealLibNavInfo, cli::array <Microsoft::VisualStudio::Shell::Interop::VSCOMPONENTSELECTORDATA> ^ pcsdExistingComponent);
public int FindComponent (ref Guid guidLib, Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[] pcsdComponent, out Microsoft.VisualStudio.Shell.Interop.IVsNavInfo ppRealLibNavInfo, Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[] pcsdExistingComponent);
abstract member FindComponent : Guid * Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[] * IVsNavInfo * Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[] -> int
Public Function FindComponent (ByRef guidLib As Guid, pcsdComponent As VSCOMPONENTSELECTORDATA(), ByRef ppRealLibNavInfo As IVsNavInfo, pcsdExistingComponent As VSCOMPONENTSELECTORDATA()) As Integer
Parameters
- pcsdComponent
- VSCOMPONENTSELECTORDATA[]
[in] A VSCOMPONENTSELECTORDATA value specifying the attributes of component to find.
- ppRealLibNavInfo
- IVsNavInfo
[out] A IVsNavInfo interface of the found components.
- pcsdExistingComponent
- VSCOMPONENTSELECTORDATA[]
[in] A VSCOMPONENTSELECTORDATA value specifying the attributes of the found component.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT FindComponent(
[in] REFGUID guidLib,
[in] VSCOMPONENTSELECTORDATA * pcsdComponent,
[out] IVsNavInfo ** ppRealLibNavInfo,
[out] VSCOMPONENTSELECTORDATA * pcsdExistingComponent
);