Sdílet prostřednictvím


IVsMRESearchProvider.SetMostRecentlyExecuted Method

Definition

Gets a new collection of MRE items for the specified search query.

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)

Parameters

pSearchQuery
IVsSearchQuery

[in] The search query from which to retrieve the MRE items.

pResult
IVsSearchItemResult

[in] The result of the search query.

dwMaxResults
UInt32

[in] The maximum number of MRE items to retrieve.

pSearchItemResults
IVsSearchItemResult[]

[in, out, size_is(dwMaxResults), length_is(*pdwActualResults)] The collection of MRE items.

pdwActualResults
UInt32

[in, out] The actual number of MRE items.

Applies to