Freigeben über


IVsLibrary2.GetLibList Method

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

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

Syntax

'Declaration
Function GetLibList ( _
    lptType As LIB_PERSISTTYPE, _
    <OutAttribute> ByRef ppList As IVsLiteTreeList _
) As Integer
'Usage
Dim instance As IVsLibrary2
Dim lptType As LIB_PERSISTTYPE
Dim ppList As IVsLiteTreeList
Dim returnValue As Integer

returnValue = instance.GetLibList(lptType, _
    ppList)
int GetLibList(
    LIB_PERSISTTYPE lptType,
    out IVsLiteTreeList ppList
)
int GetLibList(
    [InAttribute] LIB_PERSISTTYPE lptType, 
    [OutAttribute] IVsLiteTreeList^% ppList
)
abstract GetLibList : 
        lptType:LIB_PERSISTTYPE * 
        ppList:IVsLiteTreeList byref -> int 
function GetLibList(
    lptType : LIB_PERSISTTYPE, 
    ppList : IVsLiteTreeList
) : int

Parameters

Return Value

Type: System.Int32
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.

.NET Framework Security

See Also

Reference

IVsLibrary2 Interface

IVsLibrary2 Members

Microsoft.VisualStudio.Shell.Interop Namespace