IVsSimpleBrowseComponentSet::FindComponent Method (Guid, array<VSCOMPONENTSELECTORDATA>^, IVsNavInfo^, array<VSCOMPONENTSELECTORDATA>^)
Visual Studio 2015
Finds a component in the component set.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int FindComponent( [InAttribute] Guid% guidLib, array<VSCOMPONENTSELECTORDATA>^ pcsdComponent, [OutAttribute] IVsNavInfo^% ppRealLibNavInfo, array<VSCOMPONENTSELECTORDATA>^ pcsdExistingComponent )
Parameters
- guidLib
-
Type:
System::Guid
[in]The Guid that identifies the registered library. Can be GUID_NULL.
- pcsdComponent
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSCOMPONENTSELECTORDATA>^
[in] A VSCOMPONENTSELECTORDATA value specifying the attributes of component to find.
- ppRealLibNavInfo
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsNavInfo^
[out] A IVsNavInfo interface of the found components.
- pcsdExistingComponent
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSCOMPONENTSELECTORDATA>^
[in] A VSCOMPONENTSELECTORDATA value specifying the attributes of the found component.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT FindComponent(
[in] REFGUID guidLib,
[in] VSCOMPONENTSELECTORDATA * pcsdComponent,
[out] IVsNavInfo ** ppRealLibNavInfo,
[out] VSCOMPONENTSELECTORDATA * pcsdExistingComponent
);
Show: