IVsWindowSearch::CreateSearch Method (UInt32, IVsSearchQuery^, IVsSearchCallback^)
Visual Studio 2015
Creates a new search task object. The task is cold-started - Start() needs to be called on the task object to begin the search.
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.
For an example, see Adding Search to a Tool Window.
Show: