IToolboxItemCreator::CreateToolboxItem Method (String^, AssemblyName^, IEnumerable<KeyValuePair<String^, String^>>^, IEnumerable<KeyValuePair<String^, String^>>^)
Visual Studio 2015
Creates a toolbox item from the specified type.
Assembly: Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)
IDataObject^ CreateToolboxItem( String^ typeName, AssemblyName^ assemblyName, IEnumerable<KeyValuePair<String^, String^>>^ itemProperties, IEnumerable<KeyValuePair<String^, String^>>^ extraInfo )
Parameters
- typeName
-
Type:
System::String^
A full hierarchical type name.
- assemblyName
-
Type:
System.Reflection::AssemblyName^
The assembly in which typeName is found.
- itemProperties
-
Type:
System.Collections.Generic::IEnumerable<KeyValuePair<String^, String^>>^
Properties obtained from GetPropertyValue for this item.
- extraInfo
-
Type:
System.Collections.Generic::IEnumerable<KeyValuePair<String^, String^>>^
Collection returned from ExtraInfo for this item.
This method can be called on a background thread.
Show: