IToolboxService.DeserializeToolboxItem 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 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)
- Source:
- IToolboxService.cs
- Source:
- IToolboxService.cs
- Source:
- IToolboxService.cs
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)
- Source:
- IToolboxService.cs
- Source:
- IToolboxService.cs
- Source:
- IToolboxService.cs
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.