IVsGlobalSearch::SetProviderEnabled Method (Guid, Boolean)

 

Enables or disables the specified search provider.

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

void SetProviderEnabled(
	Guid guidCategoryId,
	bool fEnabled
)

Parameters

guidCategoryId
Type: System::Guid

[in] GUID that identifies the category of the search provider.

fEnabled
Type: System::Boolean

Specifies whether the search provider is to be enabled or disabled. If true, the search provider is enabled. If false, the search provider is disabled.

Return to top
Show: