Partager via


IVsGlobalSearch.GetProvider Method

Gets the provider supporting the specified category.

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

Syntax

'Declaration
Function GetProvider ( _
    guidCategoryId As Guid _
) As IVsSearchProvider
IVsSearchProvider GetProvider(
    Guid guidCategoryId
)
IVsSearchProvider^ GetProvider(
    [InAttribute] Guid guidCategoryId
)
abstract GetProvider : 
        guidCategoryId:Guid -> IVsSearchProvider
function GetProvider(
    guidCategoryId : Guid
) : IVsSearchProvider

Parameters

  • guidCategoryId
    Type: Guid

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

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchProvider
The provider supporting the category, or null if no such category exists.

.NET Framework Security

See Also

Reference

IVsGlobalSearch Interface

Microsoft.VisualStudio.Shell.Interop Namespace