IVsWindowSearch::CreateSearch Method (UInt32, IVsSearchQuery^, IVsSearchCallback^)

 

Creates a new search task object. The task is cold-started - Start() needs to be called on the task object to begin the search.

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,
	IVsSearchCallback^ pSearchCallback
)

Parameters

dwCookie
Type: System::UInt32

The search cookie.

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

The search query.

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

The search callback.

Return Value

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

The search task.

Return to top
Show: