This collection class encapsulates the set of TabPage objects being displayed by the TabControl . public class TabControl.TabPageCollection : IList, ICollection, IEnumerable { // Public Constructors public TabControl.TabPageCollection (TabControl owner ); // Public Instance Properties public int Count {get; } // implements ICollection public bool IsReadOnly {get; } // implements IList public virtual TabPage this {set; get; } // Public Instance Methods public void Add (TabPage value ); public void AddRange (TabPage[ ] pages ); public virtual void Clear (); // implements IList public bool Contains (TabPage page ); public IEnumerator GetEnumerator (); // implements IEnumerable public int IndexOf (TabPage page ); public void Remove (TabPage value ); public void RemoveAt (int index ); // implements IList } |