Condividi tramite


IVsSimpleLibrary2.GetList2 Method

Returns the requested list of symbols as an IVsSimpleObjectList2 interface.

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

Syntax

'Dichiarazione
Function GetList2 ( _
    ListType As UInteger, _
    flags As UInteger, _
    pobSrch As VSOBSEARCHCRITERIA2(), _
    <OutAttribute> ByRef ppIVsSimpleObjectList2 As IVsSimpleObjectList2 _
) As Integer
'Utilizzo
Dim instance As IVsSimpleLibrary2
Dim ListType As UInteger
Dim flags As UInteger
Dim pobSrch As VSOBSEARCHCRITERIA2()
Dim ppIVsSimpleObjectList2 As IVsSimpleObjectList2
Dim returnValue As Integer

returnValue = instance.GetList2(ListType, _
    flags, pobSrch, ppIVsSimpleObjectList2)
int GetList2(
    uint ListType,
    uint flags,
    VSOBSEARCHCRITERIA2[] pobSrch,
    out IVsSimpleObjectList2 ppIVsSimpleObjectList2
)
int GetList2(
    [InAttribute] unsigned int ListType, 
    [InAttribute] unsigned int flags, 
    [InAttribute] array<VSOBSEARCHCRITERIA2>^ pobSrch, 
    [OutAttribute] IVsSimpleObjectList2^% ppIVsSimpleObjectList2
)
abstract GetList2 : 
        ListType:uint32 * 
        flags:uint32 * 
        pobSrch:VSOBSEARCHCRITERIA2[] * 
        ppIVsSimpleObjectList2:IVsSimpleObjectList2 byref -> int 
function GetList2(
    ListType : uint, 
    flags : uint, 
    pobSrch : VSOBSEARCHCRITERIA2[], 
    ppIVsSimpleObjectList2 : IVsSimpleObjectList2
) : 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 IVsSimpleLibrary2::GetList2(
   [in]          LIB_LISTTYPE2         ListType, 
   [in]          LIB_LISTFLAGS         Flags, 
   [in]          VSOBSEARCHCRITERIA2  *pobSrch, 
   [out, retval] IVsObjectList2      **ppIVsObjectList2
);

This method returns an IVsSimpleObjectList2 interface. The type of object list to return is specified in ListType with values from the _LIB_LISTTYPE2 enumeration. Attributes of the object list are specified in flags with values from the _LIB_LISTFLAGS enumeration. Members of the VSOBSEARCHCRITERIA2 structure, as given in the ppList parameter, specify the criteria for finding the object list.

.NET Framework Security

See Also

Reference

IVsSimpleLibrary2 Interface

IVsSimpleLibrary2 Members

Microsoft.VisualStudio.Shell.Interop Namespace