This collection class represents the set of selected indexes in a
ListBox.
public class ListBox.SelectedIndexCollection : IList, ICollection, IEnumerable {
// Public Constructors
public ListBox.SelectedIndexCollection(ListBox owner);
// Public Instance Properties
public int Count{get; }
// implements ICollection
public bool IsReadOnly{get; }
// implements IList
public int this{get; }
// Public Instance Methods
public bool Contains(int selectedIndex);
public void CopyTo(Array dest, int index); // implements ICollection
public IEnumerator GetEnumerator(); // implements IEnumerable
public int IndexOf(int selectedIndex);
}