IVsLibrary.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 (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetLibList ( _
lptType As LIB_PERSISTTYPE, _
<OutAttribute> ByRef pplist As IVsLiteTreeList _
) As Integer
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
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: Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.