IVsSearchProvider::CreateSearch Method (UInt32, IVsSearchQuery^, IVsSearchProviderCallback^)
Visual Studio 2015
Creates a search task from the specified cookie and search query.
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.
Show: