IVsLibraryMgr::GetLibraryAt Method (UInt32, IVsLibrary^)
Visual Studio 2015
Returns an IVsLibrary interface for the requested library.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- nLibIndex
-
Type:
System::UInt32
[in] Specifies the zero-based index of the library of interest.
- ppLibrary
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsLibrary^
[out] Pointer to an IVsLibrary interface.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsLibraryMgr::GetLibraryAt(
[in] ULONG nLibIndex,
[out, retval] IVsLibrary **ppLibrary
);
The environment's object manager obtains a count of the number of libraries in the library manager by calling GetCount. The nLibIndex parameter is a zero based index to one of the IVsLibrary implementations in the library manager. Once the IVsLibrary interface is returned, the environment uses IVsLibrary methods to obtain information about objects in the library.
Show: