IVsSimpleLibrary2.GetList2 Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the requested list of symbols as an IVsSimpleObjectList2 interface.
public:
int GetList2(System::UInt32 ListType, System::UInt32 flags, cli::array <Microsoft::VisualStudio::Shell::Interop::VSOBSEARCHCRITERIA2> ^ pobSrch, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSimpleObjectList2 ^ % ppIVsSimpleObjectList2);
int GetList2(unsigned int ListType, unsigned int flags, std::Array <Microsoft::VisualStudio::Shell::Interop::VSOBSEARCHCRITERIA2> const & pobSrch, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSimpleObjectList2 const & & ppIVsSimpleObjectList2);
public int GetList2 (uint ListType, uint flags, Microsoft.VisualStudio.Shell.Interop.VSOBSEARCHCRITERIA2[] pobSrch, out Microsoft.VisualStudio.Shell.Interop.IVsSimpleObjectList2 ppIVsSimpleObjectList2);
abstract member GetList2 : uint32 * uint32 * Microsoft.VisualStudio.Shell.Interop.VSOBSEARCHCRITERIA2[] * IVsSimpleObjectList2 -> int
Public Function GetList2 (ListType As UInteger, flags As UInteger, pobSrch As VSOBSEARCHCRITERIA2(), ByRef ppIVsSimpleObjectList2 As IVsSimpleObjectList2) As Integer
Parameters
- ListType
- UInt32
[in] Specifies list type. Values are taken from the _LIB_LISTTYPE2 enumeration.
- flags
- UInt32
[in] Specifies flags. Values are taken from the _LIB_LISTFLAGS enumeration.
- pobSrch
- VSOBSEARCHCRITERIA2[]
[in] A VSOBSEARCHCRITERIA2 structure describing the search criteria.
- ppIVsSimpleObjectList2
- IVsSimpleObjectList2
[out]Returns an IVsSimpleObjectList2 object that contains the list of requested items.
Returns
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.