Compartir a través de


IVsLibrary.GetList Method

Returns the requested list of symbols as an IVsObjectList interface.

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

Syntax

'Declaration
Function GetList ( _
    ListType As UInteger, _
    flags As UInteger, _
    pobSrch As VSOBSEARCHCRITERIA(), _
    <OutAttribute> ByRef pplist As IVsObjectList _
) As Integer
int GetList(
    uint ListType,
    uint flags,
    VSOBSEARCHCRITERIA[] pobSrch,
    out IVsObjectList pplist
)
int GetList(
    [InAttribute] unsigned int ListType, 
    [InAttribute] unsigned int flags, 
    [InAttribute] array<VSOBSEARCHCRITERIA>^ pobSrch, 
    [OutAttribute] IVsObjectList^% pplist
)
abstract GetList : 
        ListType:uint32 * 
        flags:uint32 * 
        pobSrch:VSOBSEARCHCRITERIA[] * 
        pplist:IVsObjectList byref -> int
function GetList(
    ListType : uint, 
    flags : uint, 
    pobSrch : VSOBSEARCHCRITERIA[], 
    pplist : IVsObjectList
) : int

Parameters

  • ListType
    Type: UInt32

    [in] Specifies list type. Values are taken from the _LIB_LISTTYPE enumeration.

  • flags
    Type: UInt32

    [in] Specifies flags. Values are taken from the _LIB_LISTFLAGS enumeration.

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::GetList(
   [in] LIB_LISTTYPE ListType,
   [in] LIB_LISTFLAGS Flags,
   [in] VSOBSEARCHCRITERIA *pobSrch,
   [out, retval] IVsObjectList **ppList
);

This method returns an IVsObjectList interface. The type of object list to return is specified in ListType with enumerators from _LIB_LISTTYPE. Attributes of the object list are specified in flags with enumerators from _LIB_LISTFLAGS. Members of the VSOBSEARCHCRITERIA structure, ppList, specify the criteria for finding the object list.

.NET Framework Security

See Also

Reference

IVsLibrary Interface

Microsoft.VisualStudio.Shell.Interop Namespace