Compartilhar via


IVsSimpleBrowseComponentSet.GetList2 Method

Definition

Returns the requested list of symbols.

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

Parameters

ListType
UInt32

[in] One of the _LIB_LISTTYPE2 values.

flags
UInt32

[in] One of the _LIB_LISTFLAGS values.

pobSrch
VSOBSEARCHCRITERIA2[]

[in] A VSOBSEARCHCRITERIA2 that describes the search criteria.

pExtraListToCombineWith
IVsObjectList2

A IVsSimpleObjectList2 list of symbols that is a part of the resulting ppIVsObjectList2 list.

ppIVsObjectList2
IVsObjectList2

[out]Returns a IVsSimpleObjectList2 list of requested items.

Returns

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

Implements

Remarks

COM Signature

From vsshell80.idl:

HRESULT GetList2(  
[in] LIB_LISTTYPE2 ListType,  
[in] LIB_LISTFLAGS Flags,   
[in] VSOBSEARCHCRITERIA2 *pobSrch,   
[in] IVsObjectList2 * pExtraListToCombineWith,   
[out, retval] IVsObjectList2 **ppIVsObjectList2  
);  

Applies to