ToolStripItemCollection::Insert Method (Int32, ToolStripItem^)
.NET Framework (current version)
Inserts the specified item into the collection at the specified index.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- index
-
Type:
System::Int32
The location in the ToolStripItemCollection at which to insert the ToolStripItem.
- value
-
Type:
System.Windows.Forms::ToolStripItem^
The ToolStripItem to insert.
| Exception | Condition |
|---|---|
| ArgumentNullException | The value parameter is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: