IVsGlobalSearch::CreateSearch Method (IVsSearchQuery^, IVsGlobalSearchCallback^, Guid)

 

Creates a search task for the available providers or a specific provider category.

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

IVsGlobalSearchTask^ CreateSearch(
	IVsSearchQuery^ pSearchQuery,
	IVsGlobalSearchCallback^ pSearchCallback,
	Guid guidCategory
)

Parameters

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

[in] An IVsSearchQuery interface that contains the structured search string.

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

[in] The callback to be used to track progress of the search.

guidCategory
Type: System::Guid

[in, optional] GUID that identifies the category of the search provider. Use GUID_NULL for this parameter to search across all providers.

Return Value

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

The search task (IVsGlobalSearchTask) that was created.

Return to top
Show: