ProvideSearchProviderAttribute(Type, String) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ProvideSearchProviderAttribute 类的新实例。
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)
参数
- providerType
- Type
实现扩展的类型 IVsSearchProvider 。
- name
- String
提供程序的简短、非本地化的用户可读名称。
注解
指定包 IVsSearchProviderFactory 通过从 ExtensionPointPackage) 派生并声明实现搜索提供程序的类型,来实现接口 (。