System.Web.UI.Design.WebControlToolboxItem.CreateComponentsCore Method

Creates objects from each type contained in this System.Drawing.Design.ToolboxItem, and adds them to the specified designer.

Syntax

protected override System.ComponentModel.IComponent[] CreateComponentsCore (System.ComponentModel.Design.IDesignerHost host)

Parameters

host
The System.ComponentModel.Design.IDesignerHost for the current design document.

Returns

An array of created System.ComponentModel.IComponent objects.

Remarks

WebControlToolboxItem.CreateComponentsCore(System.ComponentModel.Design.IDesignerHost) always throws an exception, indicating that the method is inherited from System.Drawing.Design.ToolboxItem and only intended for use with Windows Forms.

Requirements

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