This documentation is archived and is not being maintained.

ListBox.SelectedObjectCollection Members

Represents the collection of selected items in the ListBox.

The ListBox.SelectedObjectCollection type exposes the following members.

  NameDescription
Public method ListBox.SelectedObjectCollection Initializes a new instance of the ListBox.SelectedObjectCollection class.
Top

  NameDescription
Public method Add Adds an item to the list of selected items for a ListBox.
Public method Clear Removes all items from the collection of selected items.
Public method Contains Determines whether the specified item is located within the collection.
Public method CopyTo Copies the entire collection into an existing array at a specified location within the array.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that can be used to iterate through the selected item collection.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method IndexOf Returns the index within the collection of the specified item.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes the specified object from the collection of selected items.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Public property Count Gets the number of items in the collection.
Public property IsReadOnly Gets a value indicating whether the collection is read-only.
Public property Item Gets the item at the specified index within the collection.
Top

  NameDescription
Explicit interface implemetation Private method IList.Add Infrastructure. For a description of this member, see IList.Add.
Explicit interface implemetation Private method IList.Clear Infrastructure. For a description of this member, see IList.Clear.
Explicit interface implemetation Private method IList.Insert Infrastructure. For a description of this member, see IList.Insert.
Explicit interface implemetation Private property IList.IsFixedSize Infrastructure. For a description of this member, see IList.IsFixedSize.
Explicit interface implemetation Private property ICollection.IsSynchronized Infrastructure. For a description of this member, see ICollection.IsSynchronized.
Explicit interface implemetation Private method IList.Remove Infrastructure. For a description of this member, see IList.Remove.
Explicit interface implemetation Private method IList.RemoveAt Infrastructure. For a description of this member, see IList.RemoveAt.
Explicit interface implemetation Private property ICollection.SyncRoot Infrastructure. For a description of this member, see ICollection.SyncRoot.
Top
Show: