System.Drawing.Design.ToolboxItem.CreateComponents Method

Creates the components that the toolbox item is configured to create.

Syntax

public System.ComponentModel.IComponent[] CreateComponents ()

Returns

An array of created System.ComponentModel.IComponent objects.

Remarks

The ToolboxItem.CreateComponents method calls the ToolboxItem.CreateComponentsCore(System.ComponentModel.Design.IDesignerHost) method to retrieve an array of type System.ComponentModel.IComponent containing the components to create.

Requirements

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