InstalledToolboxItemInfo 构造函数

定义

初始化 InstalledToolboxItemInfo 类的新实例。

public:
 InstalledToolboxItemInfo(System::String ^ typeName, System::Reflection::AssemblyName ^ assemblyName, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ customProperties);
public InstalledToolboxItemInfo (string typeName, System.Reflection.AssemblyName assemblyName, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> customProperties);
new Microsoft.VisualStudio.Shell.InstalledToolboxItemInfo : string * System.Reflection.AssemblyName * seq<System.Collections.Generic.KeyValuePair<string, string>> -> Microsoft.VisualStudio.Shell.InstalledToolboxItemInfo
Public Sub New (typeName As String, assemblyName As AssemblyName, customProperties As IEnumerable(Of KeyValuePair(Of String, String)))

参数

typeName
String

项的完整层次结构类型名称。

assemblyName
AssemblyName

项的程序集名称。

customProperties
IEnumerable<KeyValuePair<String,String>>

要显示在对话框的 "自定义" 列中的字符串。

例外

typeNameassemblyName 参数为 null。

注解

customProperties参数可以为 null。

适用于