IVsGlobalSearch.SetProviderEnabled(Guid, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables or disables the specified search provider.
public:
void SetProviderEnabled(Guid guidCategoryId, bool fEnabled);
public void SetProviderEnabled (Guid guidCategoryId, bool fEnabled);
abstract member SetProviderEnabled : Guid * bool -> unit
Public Sub SetProviderEnabled (guidCategoryId As Guid, fEnabled As Boolean)
Parameters
- guidCategoryId
- Guid
[in] GUID that identifies the category of the search provider.
- fEnabled
- 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.