获取在其中声明的全局对象提供程序的类型。
命名空间: Microsoft.VisualStudio.Shell.Design
程序集: Microsoft.VisualStudio.Shell.Design(在 Microsoft.VisualStudio.Shell.Design.dll 中)
语法
声明
Public ReadOnly Property ProviderType As Type
public Type ProviderType { get; }
属性值
类型:System.Type
关联的提供程序类的 Type ,必须从 GlobalObjectProvider派生。
备注
ProviderType 属性在 ProvideGlobalObjectProviderAttribute 构造函数中进行设置。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
ProvideGlobalObjectProviderAttribute 类