IVsSimpleBrowseComponentSet.GetList2 方法

定义

返回请求的符号列表。

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

参数

ListType
UInt32

_LIB_LISTTYPE2 值之一。

flags
UInt32

_LIB_LISTFLAGS 值之一。

pobSrch
VSOBSEARCHCRITERIA2[]

VSOBSEARCHCRITERIA2 描述搜索条件的。

pExtraListToCombineWith
IVsObjectList2

作为 IVsSimpleObjectList2 结果列表一部分的符号列表 ppIVsObjectList2

ppIVsObjectList2
IVsObjectList2

弄返回 IVsSimpleObjectList2 请求项的列表。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

实现

注解

COM 签名

从 vsshell80:

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

适用于