IVsMRESearchProvider.SetMostRecentlyExecuted 方法

定义

为指定的搜索查询获取 MRE 项的新集合。

public:
 void SetMostRecentlyExecuted(Microsoft::VisualStudio::Shell::Interop::IVsSearchQuery ^ pSearchQuery, Microsoft::VisualStudio::Shell::Interop::IVsSearchItemResult ^ pResult, System::UInt32 dwMaxResults, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsSearchItemResult ^> ^ pSearchItemResults, [Runtime::InteropServices::Out] System::UInt32 % pdwActualResults);
void SetMostRecentlyExecuted(Microsoft::VisualStudio::Shell::Interop::IVsSearchQuery const & pSearchQuery, Microsoft::VisualStudio::Shell::Interop::IVsSearchItemResult const & pResult, unsigned int dwMaxResults, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsSearchItemResult const &> const & pSearchItemResults, [Runtime::InteropServices::Out] unsigned int & pdwActualResults);
public void SetMostRecentlyExecuted (Microsoft.VisualStudio.Shell.Interop.IVsSearchQuery pSearchQuery, Microsoft.VisualStudio.Shell.Interop.IVsSearchItemResult pResult, uint dwMaxResults, Microsoft.VisualStudio.Shell.Interop.IVsSearchItemResult[] pSearchItemResults, out uint pdwActualResults);
abstract member SetMostRecentlyExecuted : Microsoft.VisualStudio.Shell.Interop.IVsSearchQuery * Microsoft.VisualStudio.Shell.Interop.IVsSearchItemResult * uint32 * Microsoft.VisualStudio.Shell.Interop.IVsSearchItemResult[] * uint32 -> unit
Public Sub SetMostRecentlyExecuted (pSearchQuery As IVsSearchQuery, pResult As IVsSearchItemResult, dwMaxResults As UInteger, pSearchItemResults As IVsSearchItemResult(), ByRef pdwActualResults As UInteger)

参数

pSearchQuery
IVsSearchQuery

中要从中检索 MRE 项的搜索查询。

pResult
IVsSearchItemResult

中搜索查询的结果。

dwMaxResults
UInt32

中要检索的 MRE 项数的最大数目。

pSearchItemResults
IVsSearchItemResult[]

[in,out,size_is (dwMaxResults) ,length_is ( * pdwActualResults) ]MRE 项的集合。

pdwActualResults
UInt32

[in,out]MRE 项的实际数目。

适用于