Gets the ToolboxItemCollection associated with the specified host from the specified category in the toolbox.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Function GetToolboxItems( _
ByVal category As System.String, _
ByVal host As System.ComponentModel.Design.IDesignerHost _
) As System.Drawing.Design.ToolboxItemCollection |
C# | |
---|
public System.Drawing.Design.ToolboxItemCollection GetToolboxItems(
System.string category,
System.ComponentModel.Design.IDesignerHost host
) |
Parameters
- category
- A String that describes the toolbox category from which to get the ToolboxItem.
- host
- The System.ComponentModel.Design IDesignerHost interface associated with the ToolboxItem. (This is not available in Visual Studio 2008.)
Return Value
A
System.Drawing.Design.ToolboxItemCollection that contains the current toolbox items that are associated with the specified category and designer host.
See Also