ExtensionPointRegistrationAttribute(Type, String) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ExtensionPointRegistrationAttribute 类的新实例。
public:
ExtensionPointRegistrationAttribute(Type ^ providerType, System::String ^ name);
public:
ExtensionPointRegistrationAttribute(Platform::Type ^ providerType, Platform::String ^ name);
public ExtensionPointRegistrationAttribute (Type providerType, string name);
new Microsoft.VisualStudio.Shell.ExtensionPointRegistrationAttribute : Type * string -> Microsoft.VisualStudio.Shell.ExtensionPointRegistrationAttribute
Public Sub New (providerType As Type, name As String)
参数
- providerType
- Type
实现泛型的参数扩展的类型。
- name
- String
提供程序的简短、非本地化的用户可读名称。
注解
应用到包时,会将 ExtensionPointRegistrationAttribute 包注册为指定类型的扩展点提供程序。