初始化 ProvideStaticToolboxItemAttribute 新实例使用指定的数据的。
命名空间: Microsoft.VisualStudio.Shell
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
语法
声明
Public Sub New ( _
groupId As String, _
name As String, _
id As String, _
formats As String, _
helpKeyword As String, _
bitmapResourceId As String, _
transparentColor As Integer _
)
public ProvideStaticToolboxItemAttribute(
string groupId,
string name,
string id,
string formats,
string helpKeyword,
string bitmapResourceId,
int transparentColor
)
参数
- groupId
类型:System.String
组标识符。
- name
类型:System.String
名称。
- id
类型:System.String
ID
- formats
类型:System.String
布局。
- helpKeyword
类型:System.String
“帮助”关键字。
- bitmapResourceId
类型:System.String
位图资源 ID。
- transparentColor
类型:System.Int32
颜色。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
ProvideStaticToolboxItemAttribute 类