ToolboxItemCollection Constructor (ToolboxItemCollection^)

 

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
)

Parameters

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 = gcnew ToolboxItemCollection( collection );

.NET Framework
Available since 1.1
Return to top
Show: