Condividi tramite


IVsLibrary.GetList Method

Definition

Returns the requested list of symbols as an IVsObjectList interface.

public:
 int GetList(System::UInt32 ListType, System::UInt32 flags, cli::array <Microsoft::VisualStudio::Shell::Interop::VSOBSEARCHCRITERIA> ^ pobSrch, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsObjectList ^ % pplist);
public:
 int GetList(unsigned int ListType, unsigned int flags, Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSOBSEARCHCRITERIA> ^ pobSrch, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsObjectList ^ &  pplist);
int GetList(unsigned int ListType, unsigned int flags, std::Array <Microsoft::VisualStudio::Shell::Interop::VSOBSEARCHCRITERIA> const & pobSrch, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsObjectList const & & pplist);
public int GetList (uint ListType, uint flags, Microsoft.VisualStudio.Shell.Interop.VSOBSEARCHCRITERIA[] pobSrch, out Microsoft.VisualStudio.Shell.Interop.IVsObjectList pplist);
abstract member GetList : uint32 * uint32 * Microsoft.VisualStudio.Shell.Interop.VSOBSEARCHCRITERIA[] * IVsObjectList -> int
Public Function GetList (ListType As UInteger, flags As UInteger, pobSrch As VSOBSEARCHCRITERIA(), ByRef pplist As IVsObjectList) As Integer

Parameters

ListType
UInt32

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

flags
UInt32

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

pobSrch
VSOBSEARCHCRITERIA[]

[in] Specifies a pointer to a VSOBSEARCHCRITERIA structure.

pplist
IVsObjectList

[out] Pointer to an IVsObjectList interface.

Returns

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.

Applies to