IVsSimpleBrowseComponentSet.FindComponent Method

Finds a component in the component set.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

‘선언
Function FindComponent ( _
    ByRef guidLib As Guid, _
    pcsdComponent As VSCOMPONENTSELECTORDATA(), _
    <OutAttribute> ByRef ppRealLibNavInfo As IVsNavInfo, _
    <OutAttribute> pcsdExistingComponent As VSCOMPONENTSELECTORDATA() _
) As Integer
‘사용 방법
Dim instance As IVsSimpleBrowseComponentSet
Dim guidLib As Guid
Dim pcsdComponent As VSCOMPONENTSELECTORDATA()
Dim ppRealLibNavInfo As IVsNavInfo
Dim pcsdExistingComponent As VSCOMPONENTSELECTORDATA()
Dim returnValue As Integer

returnValue = instance.FindComponent(guidLib, _
    pcsdComponent, ppRealLibNavInfo, _
    pcsdExistingComponent)
int FindComponent(
    ref Guid guidLib,
    VSCOMPONENTSELECTORDATA[] pcsdComponent,
    out IVsNavInfo ppRealLibNavInfo,
    VSCOMPONENTSELECTORDATA[] pcsdExistingComponent
)
int FindComponent(
    [InAttribute] Guid% guidLib, 
    [InAttribute] array<VSCOMPONENTSELECTORDATA>^ pcsdComponent, 
    [OutAttribute] IVsNavInfo^% ppRealLibNavInfo, 
    [OutAttribute] array<VSCOMPONENTSELECTORDATA>^ pcsdExistingComponent
)
abstract FindComponent : 
        guidLib:Guid byref * 
        pcsdComponent:VSCOMPONENTSELECTORDATA[] * 
        ppRealLibNavInfo:IVsNavInfo byref * 
        pcsdExistingComponent:VSCOMPONENTSELECTORDATA[] byref -> int 
function FindComponent(
    guidLib : Guid, 
    pcsdComponent : VSCOMPONENTSELECTORDATA[], 
    ppRealLibNavInfo : IVsNavInfo, 
    pcsdExistingComponent : VSCOMPONENTSELECTORDATA[]
) : int

Parameters

  • guidLib
    Type: System.Guid%
    [in]The Guid that identifies the registered library. Can be GUID_NULL.

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsSimpleBrowseComponentSet Interface

IVsSimpleBrowseComponentSet Members

Microsoft.VisualStudio.Shell.Interop Namespace