ProvideToolboxItemConfigurationAttribute 构造函数
初始化 ProvideToolboxItemConfigurationAttribute 的新实例。
命名空间: Microsoft.VisualStudio.Shell
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
语法
声明
Public Sub New ( _
objectType As Type _
)
public ProvideToolboxItemConfigurationAttribute(
Type objectType
)
参数
- objectType
类型:System.Type
[in] Type。
备注
objectType 必须是实现 IConfigureToolboxItem的公共类。
此类还必须注册,提供 ToolboxItem 配置为指定的程序集。有关实现 IConfigureToolboxItem的类的更多信息,请参见 IConfigureToolboxItem。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
ProvideToolboxItemConfigurationAttribute 类
Microsoft.VisualStudio.Shell 命名空间
ProvideToolboxItemConfigurationAttribute
ProvideAssemblyFilterAttribute