IVsLibrary::GetList Method (UInt32, UInt32, array<VSOBSEARCHCRITERIA>^, IVsObjectList^)
Returns the requested list of symbols as an IVsObjectList interface.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetList( unsigned int ListType, unsigned int flags, array<VSOBSEARCHCRITERIA>^ pobSrch, [OutAttribute] IVsObjectList^% pplist )
Parameters
- ListType
-
Type:
System::UInt32
[in] Specifies list type. Values are taken from the _LIB_LISTTYPE enumeration.
- flags
-
Type:
System::UInt32
[in] Specifies flags. Values are taken from the _LIB_LISTFLAGS enumeration.
- pobSrch
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSOBSEARCHCRITERIA>^
[in] Specifies a pointer to a VSOBSEARCHCRITERIA structure.
- pplist
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsObjectList^
[out] Pointer to an IVsObjectList interface.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
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.