IVsLibrary2::GetLibList Method (LIB_PERSISTTYPE, IVsLiteTreeList^)
Visual Studio 2015
Returns the list of browse containers currently being browsed by the library as an IVsLiteTreeList interface.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- lptType
-
Type:
Microsoft.VisualStudio.Shell.Interop::LIB_PERSISTTYPE
[in] Specifies type of library to return. For a list of lptType values, see LIB_PERSISTTYPE.
- ppList
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsLiteTreeList^
[out] Pointer to an IVsLiteTreeList.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsLibrary2::GetLibList(
[in] LIB_PERSISTTYPE lptType,
[out, retval] IVsLiteTreeList **ppList
);
This method returns an IVsLiteTreeList interface (browse container), which gives the object manager access to the contents of a library. The lptType parameter specifies which type of library, either project or global, is to be returned.
Show: