IVsSimpleLibrary2::GetList2 Method (UInt32, UInt32, array<VSOBSEARCHCRITERIA2>^, IVsSimpleObjectList2^)

 

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)

int GetList2(
	unsigned int ListType,
	unsigned int flags,
	array<VSOBSEARCHCRITERIA2>^ pobSrch,
	[OutAttribute] IVsSimpleObjectList2^% ppIVsSimpleObjectList2
)

Parameters

ListType
Type: System::UInt32

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

flags
Type: System::UInt32

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

pobSrch
Type: array<Microsoft.VisualStudio.Shell.Interop::VSOBSEARCHCRITERIA2>^

[in] A VSOBSEARCHCRITERIA2 structure describing the search criteria.

ppIVsSimpleObjectList2
Type: Microsoft.VisualStudio.Shell.Interop::IVsSimpleObjectList2^

[out]Returns an IVsSimpleObjectList2 object that contains the list of requested items.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

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.

Return to top
Show: