Gets the ToolboxItemCollection associated with the specified host from the toolbox.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Function GetToolboxItems( _
ByVal host As System.ComponentModel.Design.IDesignerHost _
) As System.Drawing.Design.ToolboxItemCollection |
C# | |
---|
public System.Drawing.Design.ToolboxItemCollection GetToolboxItems(
System.ComponentModel.Design.IDesignerHost host
) |
Parameters
- 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 designer host.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also