InstalledToolboxItemInfo 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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>>
要显示在对话框的 "自定义" 列中的字符串。
例外
typeName或 assemblyName 参数为 null。
注解
customProperties参数可以为 null。