ExtensionPointRegistrationAttribute(Type, String) 构造函数

定义

初始化 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 包注册为指定类型的扩展点提供程序。

适用于