ToolboxItemCreator::Create Method (IDataObject^)
.NET Framework (current version)
Creates a new ToolboxItem from a System.Windows.Forms::IDataObject.
Assembly: System.Drawing.Design (in System.Drawing.Design.dll)
Parameters
- data
-
Type:
System.Windows.Forms::IDataObject^
A data object that represents a ToolboxItem.
The data parameter might contain data provided by the ToolboxItemContainer class. It might contain data that can be read by one of the ToolboxItemCreator classes that have been supplied by the user. It might also be data with a Clipboard format that has a ToolboxItemCreator assigned to it. In this case, the ToolboxItem is created on demand.
The Create method might raise an exception if the data object does not contain data for the supported format.
.NET Framework
Available since 2.0
Available since 2.0
Show: