DekGenius.com
[ Team LiB ] Previous Section Next Section

ListBox.ObjectCollection

System.Windows.Forms (system.windows.forms.dll)class

This collection class represents the set of items in a ListBox.

public class ListBox.ObjectCollection : IList, ICollection, IEnumerable {
// Public Constructors
   public ListBox.ObjectCollection(ListBox owner);
   public ListBox.ObjectCollection(ListBox owner, object[ ] value);
   public ListBox.ObjectCollection(ListBox owner, ObjectCollection value);
// Public Instance Properties
   public int Count{get; }
// implements ICollection
   public bool IsReadOnly{get; }
// implements IList
   public virtual object this{set; get; }
// implements IList
// Public Instance Methods
   public int Add(object item);  // implements IList
   public void AddRange(object[ ] items);
   public void AddRange(ObjectCollection value);
   public virtual void Clear();  // implements IList
   public bool Contains(object value);  // implements IList
   public void CopyTo(object[ ] dest, int arrayIndex);
   public IEnumerator GetEnumerator();  // implements IEnumerable
   public int IndexOf(object value);  // implements IList
   public void Insert(int index, object item);  // implements IList
   public void Remove(object value);  // implements IList
   public void RemoveAt(int index);  // implements IList
}
    [ Team LiB ] Previous Section Next Section