Szerkesztés

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


IToolboxService.DeserializeToolboxItem Method

Definition

Gets a toolbox item from the specified object that represents a toolbox item in serialized form.

Overloads

DeserializeToolboxItem(Object)

Gets a toolbox item from the specified object that represents a toolbox item in serialized form.

DeserializeToolboxItem(Object, IDesignerHost)

Gets a toolbox item from the specified object that represents a toolbox item in serialized form, using the specified designer host.

DeserializeToolboxItem(Object)

Gets a toolbox item from the specified object that represents a toolbox item in serialized form.

public:
 System::Drawing::Design::ToolboxItem ^ DeserializeToolboxItem(System::Object ^ serializedObject);
public System.Drawing.Design.ToolboxItem DeserializeToolboxItem (object serializedObject);
abstract member DeserializeToolboxItem : obj -> System.Drawing.Design.ToolboxItem
Public Function DeserializeToolboxItem (serializedObject As Object) As ToolboxItem

Parameters

serializedObject
Object

The object that contains the ToolboxItem to retrieve.

Returns

The ToolboxItem created from the serialized object.

Applies to

DeserializeToolboxItem(Object, IDesignerHost)

Gets a toolbox item from the specified object that represents a toolbox item in serialized form, using the specified designer host.

public:
 System::Drawing::Design::ToolboxItem ^ DeserializeToolboxItem(System::Object ^ serializedObject, System::ComponentModel::Design::IDesignerHost ^ host);
public System.Drawing.Design.ToolboxItem DeserializeToolboxItem (object serializedObject, System.ComponentModel.Design.IDesignerHost host);
abstract member DeserializeToolboxItem : obj * System.ComponentModel.Design.IDesignerHost -> System.Drawing.Design.ToolboxItem
Public Function DeserializeToolboxItem (serializedObject As Object, host As IDesignerHost) As ToolboxItem

Parameters

serializedObject
Object

The object that contains the ToolboxItem to retrieve.

host
IDesignerHost

The IDesignerHost to associate with this ToolboxItem.

Returns

The ToolboxItem created from deserialization.

Applies to