ToolboxItem::CreateComponents Method (IDesignerHost^)

 

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

Namespace:   System.Drawing.Design
Assembly:  System.Drawing (in System.Drawing.dll)

public:
array<IComponent^>^ CreateComponents(
	IDesignerHost^ host
)

Parameters

host
Type: System.ComponentModel.Design::IDesignerHost^

The IDesignerHost to use when creating the components.

Return Value

Type: array<System.ComponentModel::IComponent^>^

An array of created IComponent objects.

The CreateComponents method calls the CreateComponentsCore method to retrieve an array of type IComponent containing the components to create.

.NET Framework
Available since 1.1
Return to top
Show: