Name

ListBox.SelectedObjectCollection

Synopsis

This collection class represents the set of selected objects in a ListBox.


public class ListBox.SelectedObjectCollection : IList, ICollection, IEnumerable {

// Public Constructors

   public ListBox.SelectedObjectCollection(ListBox owner);

// Public Instance Properties

   public int Count{get; }

// implements ICollection

   public bool IsReadOnly{get; }

// implements IList

   public object this{set; get; }

// implements IList

                  // Public Instance Methods

   public bool Contains(object selectedObject);  // implements IList

   public void CopyTo(Array dest, int index);  // implements ICollection

   public IEnumerator GetEnumerator();  // implements IEnumerable

   public int IndexOf(object selectedObject);  // implements IList

}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.