Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Sub SetProviderEnabled ( _
guidCategoryId As Guid, _
fEnabled As Boolean _
)
void SetProviderEnabled(
Guid guidCategoryId,
bool fEnabled
)
void SetProviderEnabled(
[InAttribute] Guid guidCategoryId,
[InAttribute] bool fEnabled
)
abstract SetProviderEnabled :
guidCategoryId:Guid *
fEnabled:bool -> unit
function SetProviderEnabled(
guidCategoryId : Guid,
fEnabled : boolean
)
Parameters
guidCategoryId
Type: Guid[in] GUID that identifies the category of the search provider.
fEnabled
Type: BooleanSpecifies whether the search provider is to be enabled or disabled. If true, the search provider is enabled. If false, the search provider is disabled.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.