ToolStripItemCollection Class
Assembly: System.Windows.Forms (in system.windows.forms.dll)
public class ToolStripItemCollection : ArrangedElementCollection, IList, ICollection, IEnumerable
public class ToolStripItemCollection extends ArrangedElementCollection implements IList, ICollection, IEnumerable
public class ToolStripItemCollection extends ArrangedElementCollection implements IList, ICollection, IEnumerable
Not applicable.
The Add, Remove, and RemoveAt methods enable you to add and remove individual controls from the collection. You can also use the AddRange or Clear methods to add or remove all the controls from the collection.
You can determine whether a ToolStripItem is a member of the collection by passing the control into the Contains method. To get the index value of the location of a ToolStripItem in the collection, pass the control into the IndexOf method. The collection can be copied into an array by calling the CopyTo method.
System.Windows.Forms.Layout.ArrangedElementCollection
System.Windows.Forms.ToolStripItemCollection
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.