ToolboxItemCollection Constructor (ToolboxItemCollection)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initializes a new instance of the ToolboxItemCollection class using the specified collection.

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

public ToolboxItemCollection(
	ToolboxItemCollection value


Type: System.Drawing.Design.ToolboxItemCollection

A ToolboxItemCollection to fill the new collection with.

The following code example demonstrates creating a new ToolboxItemCollection instance initialized using another ToolboxItemCollection.

// Create a new ToolboxItemCollection using an existing ToolboxItemCollection.
ToolboxItemCollection coll =
    new ToolboxItemCollection( collection );

.NET Framework
Available since 1.1
Return to top