ProvideSearchProviderAttribute(Type, String) Constructor

Definition

Specify that the package implements IVsSearchProviderFactory interface (e.g. by deriving from ExtensionPointPackage) and declares the type implementing the search provider.

public:
 ProvideSearchProviderAttribute(Type ^ providerType, System::String ^ name);
public:
 ProvideSearchProviderAttribute(Platform::Type ^ providerType, Platform::String ^ name);
public ProvideSearchProviderAttribute (Type providerType, string name);
new Microsoft.VisualStudio.Shell.ProvideSearchProviderAttribute : Type * string -> Microsoft.VisualStudio.Shell.ProvideSearchProviderAttribute
Public Sub New (providerType As Type, name As String)

Parameters

providerType
Type

The type implementing the IVsSearchProvider extension

name
String

A short, non-localized human-readable name of the provider

Remarks

Specifies that the package implements an IVsSearchProviderFactory interface (that is, by deriving from ExtensionPointPackage) and declares the type implementing the search provider.

Applies to