다음을 통해 공유


IVsGlobalSearch.IsProviderEnabled Method

Indicates whether the specified search provider is enabled.

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

Syntax

'Declaration
Function IsProviderEnabled ( _
    guidCategoryId As Guid _
) As Boolean
bool IsProviderEnabled(
    Guid guidCategoryId
)
bool IsProviderEnabled(
    [InAttribute] Guid guidCategoryId
)
abstract IsProviderEnabled : 
        guidCategoryId:Guid -> bool
function IsProviderEnabled(
    guidCategoryId : Guid
) : boolean

Parameters

  • guidCategoryId
    Type: Guid

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

Return Value

Type: Boolean
VARIANT_BOOL that indicates if the search provider is enabled. If true, the search provider is enabled.

.NET Framework Security

See Also

Reference

IVsGlobalSearch Interface

Microsoft.VisualStudio.Shell.Interop Namespace