- index
- The index value of the System.Windows.Forms.ToolStripItem to remove.
When a System.Windows.Forms.ToolStripItem is removed from the System.Windows.Forms.ToolStripItemCollection, all subsequent controls are moved up one position in the collection.
You can also remove a System.Windows.Forms.ToolStripItem by using the ToolStripItemCollection.Remove(ToolStripItem) method, or remove all controls by using the ToolStripItemCollection.Clear method.
To add new System.Windows.Forms.ToolStripItem objects to the collection, use the ToolStripItemCollection.Add(ToolStripItem) or ToolStripItemCollection.AddRange(ToolStripItem[]) methods.