Name

ListBox.SelectedIndexCollection

Synopsis

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);

}

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.