Freigeben über


IVsLibrary2.GetLibList(LIB_PERSISTTYPE, IVsLiteTreeList) Method

Definition

Returns the list of browse containers currently being browsed by the library as an IVsLiteTreeList interface.

public:
 int GetLibList(Microsoft::VisualStudio::Shell::Interop::LIB_PERSISTTYPE lptType, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList ^ % ppList);
public:
 int GetLibList(Microsoft::VisualStudio::Shell::Interop::LIB_PERSISTTYPE lptType, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList ^ &  ppList);
int GetLibList(Microsoft::VisualStudio::Shell::Interop::LIB_PERSISTTYPE lptType, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsLiteTreeList const & & ppList);
public int GetLibList (Microsoft.VisualStudio.Shell.Interop.LIB_PERSISTTYPE lptType, out Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList ppList);
abstract member GetLibList : Microsoft.VisualStudio.Shell.Interop.LIB_PERSISTTYPE * IVsLiteTreeList -> int
Public Function GetLibList (lptType As LIB_PERSISTTYPE, ByRef ppList As IVsLiteTreeList) As Integer

Parameters

lptType
LIB_PERSISTTYPE

[in] Specifies type of library to return. For a list of lptType values, see LIB_PERSISTTYPE.

ppList
IVsLiteTreeList

[out] Pointer to an IVsLiteTreeList.

Returns

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

Remarks

COM Signature

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.

Applies to