Szerkesztés

Megosztás a következőn keresztül:


IToolboxService.SerializeToolboxItem(ToolboxItem) Method

Definition

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.

Applies to