ToolboxService::IToolboxService::GetToolboxItems Method (IDesignerHost^)
.NET Framework (current version)
Gets the collection of toolbox items that are associated with the specified designer host from the toolbox.
Assembly: System.Drawing.Design (in System.Drawing.Design.dll)
private: virtual ToolboxItemCollection^ GetToolboxItems( IDesignerHost^ host ) sealed = IToolboxService::GetToolboxItems
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
Available since 2.0
Show: