ToolStripPanel::ToolStripPanelRowCollection::Add Method (ToolStripPanelRow^)
.NET Framework (current version)
Adds the specified ToolStripPanelRow to the ToolStripPanel::ToolStripPanelRowCollection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- value
-
Type:
System.Windows.Forms::ToolStripPanelRow^
The ToolStripPanelRow to add to the ToolStripPanel::ToolStripPanelRowCollection.
Return Value
Type: System::Int32The position of the ToolStripPanelRow in the ToolStripPanel::ToolStripPanelRowCollection.
| Exception | Condition |
|---|---|
| ArgumentNullException | value is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: