ToolboxService::IToolboxService::GetToolboxItems Method (String^)
.NET Framework (current version)
Gets a collection of toolbox items from the toolbox that match the specified category.
Assembly: System.Drawing.Design (in System.Drawing.Design.dll)
private: virtual ToolboxItemCollection^ GetToolboxItems( String^ category ) sealed = IToolboxService::GetToolboxItems
Parameters
- category
-
Type:
System::String^
The toolbox item category from which to retrieve all the toolbox items.
Return Value
Type: System.Drawing.Design::ToolboxItemCollection^A ToolboxItemCollection that contains the current toolbox items that are associated with the specified category.
| Exception | Condition |
|---|---|
| ArgumentNullException | host is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: