This class provides a standard collection of
MenuItems for the Menu class.
public class Menu.MenuItemCollection : IList, ICollection, IEnumerable {
// Public Constructors
public Menu.MenuItemCollection(Menu owner);
// Public Instance Properties
public int Count{get; }
// implements ICollection
public bool IsReadOnly{get; }
// implements IList
public virtual MenuItem this{get; }
// Public Instance Methods
public virtual int Add(int index, MenuItem item);
public virtual int Add(MenuItem item);
public virtual MenuItem Add(string caption);
public virtual MenuItem Add(string caption, EventHandler onClick);
public virtual MenuItem Add(string caption, MenuItem[ ] items);
public virtual void AddRange(MenuItem[ ] items);
public virtual void Clear(); // implements IList
public bool Contains(MenuItem value);
public void CopyTo(Array dest, int index); // implements ICollection
public IEnumerator GetEnumerator(); // implements IEnumerable
public int IndexOf(MenuItem value);
public virtual void Remove(MenuItem item);
public virtual void RemoveAt(int index); // implements IList
}