IVsSearchProvider.CreateSearch Method

Definition

Creates a search task from the specified cookie and search query.

C#
public Microsoft.VisualStudio.Shell.Interop.IVsSearchTask CreateSearch(uint dwCookie, Microsoft.VisualStudio.Shell.Interop.IVsSearchQuery pSearchQuery, Microsoft.VisualStudio.Shell.Interop.IVsSearchProviderCallback pSearchCallback);

Parameters

dwCookie
UInt32

[in] The cookie that identifies the search task.

pSearchQuery
IVsSearchQuery

[in] The search query against which the search task should operate.

pSearchCallback
IVsSearchProviderCallback

[in] A callback to report search progress.

Returns

An IVsSearchTask that identifies the search task.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022