ToolStripPanel.ToolStripPanelRowCollection.Add(ToolStripPanelRow) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified ToolStripPanelRow to the ToolStripPanel.ToolStripPanelRowCollection.
public:
int Add(System::Windows::Forms::ToolStripPanelRow ^ value);
public int Add (System.Windows.Forms.ToolStripPanelRow value);
member this.Add : System.Windows.Forms.ToolStripPanelRow -> int
Public Function Add (value As ToolStripPanelRow) As Integer
Parameters
- value
- ToolStripPanelRow
The ToolStripPanelRow to add to the ToolStripPanel.ToolStripPanelRowCollection.
Returns
The position of the ToolStripPanelRow in the ToolStripPanel.ToolStripPanelRowCollection.
Exceptions
value
is null
.