命名空间: Microsoft.VisualStudio.Shell
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
语法
声明
Public Sub New ( _
name As String, _
helpKeyword As String, _
discoveryType As Type, _
itemCreatorType As Type, _
frameworksToEnumerate As String() _
)
public ProvideToolboxItemDiscoveryAttribute(
string name,
string helpKeyword,
Type discoveryType,
Type itemCreatorType,
string[] frameworksToEnumerate
)
参数
- name
类型:System.String
- helpKeyword
类型:System.String
- discoveryType
类型:System.Type
- itemCreatorType
类型:System.Type
- frameworksToEnumerate
类型:array<System.String[]
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。