IVsObjectManager2::FindLibrary Method (Guid, IVsLibrary2^)

 

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

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

int FindLibrary(
	[InAttribute] Guid% guidLibrary,
	[OutAttribute] IVsLibrary2^% ppLib
)

Parameters

guidLibrary
Type: System::Guid

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

ppLib
Type: Microsoft.VisualStudio.Shell.Interop::IVsLibrary2^

[out] The IVsLibrary2 that represents requested library.

Return Value

Type: System::Int32

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

From vsshell80.idl:

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