IToolboxService::GetToolboxItems Method (String^, IDesignerHost^)

 

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

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

ToolboxItemCollection^ GetToolboxItems(
	String^ category,
	IDesignerHost^ host
)

Parameters

category
Type: System::String^

The toolbox item category to retrieve the toolbox items from.

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 category and designer host.

.NET Framework
Available since 1.1
Return to top
Show: