共用方式為


IVsGlobalSearch.RegisterProvider(IVsSearchProvider) Method

Definition

Registers the specified search provider.

public:
 void RegisterProvider(Microsoft::VisualStudio::Shell::Interop::IVsSearchProvider ^ pProvider);
public:
 void RegisterProvider(Microsoft::VisualStudio::Shell::Interop::IVsSearchProvider ^ pProvider);
void RegisterProvider(Microsoft::VisualStudio::Shell::Interop::IVsSearchProvider const & pProvider);
public void RegisterProvider (Microsoft.VisualStudio.Shell.Interop.IVsSearchProvider pProvider);
abstract member RegisterProvider : Microsoft.VisualStudio.Shell.Interop.IVsSearchProvider -> unit
Public Sub RegisterProvider (pProvider As IVsSearchProvider)

Parameters

pProvider
IVsSearchProvider

[in] The search provider to be registered.

Applies to