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.

Implements

IToolboxService.GetToolboxItems(IDesignerHost)

ExceptionCondition
ArgumentNullException

host is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft