System.Drawing.Design.ToolboxItem.CreateComponents Method

Creates the components that the toolbox item is configured to create, using the specified designer host.

Syntax

public System.ComponentModel.IComponent[] CreateComponents (System.ComponentModel.Design.IDesignerHost host)

Parameters

host
The System.ComponentModel.Design.IDesignerHost to use when creating the components.

Returns

An array of created System.ComponentModel.IComponent objects.

Remarks

Requirements

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