Compartilhar via


IVsObjectManager2.FindLibrary(Guid, IVsLibrary2) Method

Definition

Finds a specific symbol library registered with the with the Visual Studio object manager.

public:
 int FindLibrary(Guid % guidLibrary, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLibrary2 ^ % ppLib);
public int FindLibrary (ref Guid guidLibrary, out Microsoft.VisualStudio.Shell.Interop.IVsLibrary2 ppLib);
abstract member FindLibrary : Guid * IVsLibrary2 -> int
Public Function FindLibrary (ByRef guidLibrary As Guid, ByRef ppLib As IVsLibrary2) As Integer

Parameters

guidLibrary
Guid

[in] The Guid that identifies the registered library. For more information, see vsshell80.idl, VS Browse Libraries section.

ppLib
IVsLibrary2

[out] The IVsLibrary2 that represents requested library.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsObjectManager2::FindLibrary(  
[in] REFGUID guidLibrary,   
[out] IVsLibrary2 **ppLib  
);  

Applies to