System.Drawing.Design.IToolboxService.SerializeToolboxItem Method

Gets a serializable object that represents the specified toolbox item.

Syntax

public object SerializeToolboxItem (ToolboxItem toolboxItem)

Parameters

toolboxItem
The System.Drawing.Design.ToolboxItem to serialize.

Returns

An object that represents the specified System.Drawing.Design.ToolboxItem.

Remarks

This method serializes the specified System.Drawing.Design.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.

Requirements

Namespace: System.Drawing.Design
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0