ProvideGlobalObjectProviderAttribute 构造函数

初始化 ProvideGlobalObjectProviderAttribute 类的新实例。

命名空间:  Microsoft.VisualStudio.Shell.Design
程序集:  Microsoft.VisualStudio.Shell.Design(在 Microsoft.VisualStudio.Shell.Design.dll 中)

语法

声明
Public Sub New ( _
    providerType As Type _
)
public ProvideGlobalObjectProviderAttribute(
    Type providerType
)

参数

异常

异常 条件
ArgumentNullException

providerType 为 nullnull 引用(在 Visual Basic 中为 Nothing)。

备注

ProvideGlobalObjectProviderAttribute 构造函数将 ProviderType 属性设置为 providerType 参数。

.NET Framework 安全性

请参见

参考

ProvideGlobalObjectProviderAttribute 类

Microsoft.VisualStudio.Shell.Design 命名空间

GlobalObjectProvider