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)
abstract CreateSearch : dwCookie:uint32 * pSearchQuery:IVsSearchQuery * pSearchCallback:IVsSearchCallback -> IVsSearchTask
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: