IVsSearchProvider::CreateSearch Method (UInt32, IVsSearchQuery^, IVsSearchProviderCallback^)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

IVsSearchTask^ CreateSearch(
	unsigned int dwCookie,
	IVsSearchQuery^ pSearchQuery,
	IVsSearchProviderCallback^ pSearchCallback
)

Parameters

dwCookie
Type: System::UInt32

[in] The cookie that identifies the search task.

pSearchQuery
Type: Microsoft.VisualStudio.Shell.Interop::IVsSearchQuery^

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

pSearchCallback
Type: Microsoft.VisualStudio.Shell.Interop::IVsSearchProviderCallback^

[in] A callback to report search progress.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop::IVsSearchTask^

An IVsSearchTask that identifies the search task.

Return to top
Show: