共用方式為


IVsGlobalSearch.GetProvider(Guid) Method

Definition

Gets the provider supporting the specified category.

public:
 Microsoft::VisualStudio::Shell::Interop::IVsSearchProvider ^ GetProvider(Guid guidCategoryId);
public Microsoft.VisualStudio.Shell.Interop.IVsSearchProvider GetProvider (Guid guidCategoryId);
abstract member GetProvider : Guid -> Microsoft.VisualStudio.Shell.Interop.IVsSearchProvider
Public Function GetProvider (guidCategoryId As Guid) As IVsSearchProvider

Parameters

guidCategoryId
Guid

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

Returns

The provider supporting the category, or null if no such category exists.

Applies to