ToolboxService.IToolboxService.GetToolboxItems Method (IDesignerHost)

 

Gets the collection of toolbox items that are associated with the specified designer host from the toolbox.

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

ToolboxItemCollection IToolboxService.GetToolboxItems(
	IDesignerHost host
)

Parameters

host
Type: System.ComponentModel.Design.IDesignerHost

The IDesignerHost that is associated with the toolbox items to retrieve.

Return Value

Type: System.Drawing.Design.ToolboxItemCollection

A ToolboxItemCollection that contains the current toolbox items that are associated with the specified designer host.

Exception Condition
ArgumentNullException

host is null.

.NET Framework
Available since 2.0
Return to top
Show: