IToolboxService.SerializeToolboxItem(ToolboxItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a serializable object that represents the specified toolbox item.
public:
System::Object ^ SerializeToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem);
public object SerializeToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem);
abstract member SerializeToolboxItem : System.Drawing.Design.ToolboxItem -> obj
Public Function SerializeToolboxItem (toolboxItem As ToolboxItem) As Object
Parameters
- toolboxItem
- ToolboxItem
The ToolboxItem to serialize.
Returns
An object that represents the specified ToolboxItem.
Remarks
This method serializes the specified ToolboxItem to an object that can be persisted. The returned object can be stored in a stream or passed around in a drag-and-drop or clipboard operation.