ToolStripItemCollection Constructor (ToolStrip^, array<ToolStripItem^>^)
.NET Framework (current version)
Initializes a new instance of the ToolStripItemCollection class with the specified container ToolStrip and the specified array of ToolStripItem controls.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- owner
-
Type:
System.Windows.Forms::ToolStrip^
The ToolStrip to which this ToolStripItemCollection belongs.
- value
-
Type:
array<System.Windows.Forms::ToolStripItem^>^
An array of type ToolStripItem containing the initial controls for this ToolStripItemCollection.
| Exception | Condition |
|---|---|
| ArgumentNullException | The owner parameter is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: