共用方式為


IVsSearchProviderCallback.ReportResults Method

Definition

Reports the results of the specified search tasks.

public:
 void ReportResults(Microsoft::VisualStudio::Shell::Interop::IVsSearchTask ^ pTask, System::UInt32 dwResults, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsSearchItemResult ^> ^ pSearchItemResults);
public:
 void ReportResults(Microsoft::VisualStudio::Shell::Interop::IVsSearchTask ^ pTask, unsigned int dwResults, Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsSearchItemResult ^> ^ pSearchItemResults);
void ReportResults(Microsoft::VisualStudio::Shell::Interop::IVsSearchTask const & pTask, unsigned int dwResults, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsSearchItemResult const &> const & pSearchItemResults);
public void ReportResults (Microsoft.VisualStudio.Shell.Interop.IVsSearchTask pTask, uint dwResults, Microsoft.VisualStudio.Shell.Interop.IVsSearchItemResult[] pSearchItemResults);
abstract member ReportResults : Microsoft.VisualStudio.Shell.Interop.IVsSearchTask * uint32 * Microsoft.VisualStudio.Shell.Interop.IVsSearchItemResult[] -> unit
Public Sub ReportResults (pTask As IVsSearchTask, dwResults As UInteger, pSearchItemResults As IVsSearchItemResult())

Parameters

pTask
IVsSearchTask

[in] The search task from which the results were obtained.

dwResults
UInt32

[in] The number of results in pSearchItemResults.

pSearchItemResults
IVsSearchItemResult[]

[in, size_is(dwResults)] The search results.

Applies to