This documentation is archived and is not being maintained.

ListBox.ObjectCollection Methods

The ListBox.ObjectCollection type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Add Adds an item to the list of items for a ListBox.
Public method AddRange Overloaded. Adds a group of items to the list of items for a ListBox.
Public method Supported by the .NET Compact Framework Clear Removes all items from the collection.
Public method Supported by the .NET Compact Framework Contains Determines whether the specified item is located within the collection.
Public method CopyTo Copies the entire collection into an existing array of objects at a specified location within the array.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework GetEnumerator Returns an enumerator to use to iterate through the item collection.
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework IndexOf Returns the index within the collection of the specified item.
Public method Supported by the .NET Compact Framework Insert Inserts an item into the list box at the specified index.
Protected method Supported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Remove Removes the specified object from the collection.
Public method Supported by the .NET Compact Framework RemoveAt Infrastructure. Removes the item at the specified index within the collection.
Public method Supported by the .NET Compact Framework 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
Explicit interface implemetation Private method IList.Add Infrastructure. Adds an object to the ListBox class.
Explicit interface implemetation Private method Supported by the .NET Compact Framework ICollection.CopyTo Infrastructure. Copies the elements of the collection to an array, starting at a particular array index.
Top
Show: