次の方法で共有


IVsLibrary.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 vsshell.idl:

HRESULT IVsLibrary::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