ListBox.ObjectCollection Members

Represents the collection of items in a ListBox.

The following tables list the members exposed by the ListBox.ObjectCollection type.

  Name Description
Public method ListBox.ObjectCollection Overloaded. Initializes a new instance of ListBox.ObjectCollection.
Top

  Name Description
Public property Supported by the .NET Compact Framework Count Gets the number of items in the collection.
Public property Supported by the .NET Compact Framework IsReadOnly Gets a value indicating whether the collection is read-only.
Public property Supported by the .NET Compact Framework Item Gets or sets the item at the specified index within the collection.
Top

(see also Protected Methods )
  Name Description
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  Overloaded. Determines whether two Object instances are equal. (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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (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 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

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.ICollection.CopyTo Copies the elements of the collection to an array, starting at a particular array index.
Explicit interface implementation Method System.Collections.IList.Add Adds an object to the ListBox class.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.IsSynchronized For a description of this member, see ICollection.IsSynchronized.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.ICollection.SyncRoot For a description of this member, see ICollection.SyncRoot.
Explicit interface implementation Property Supported by the .NET Compact Framework System.Collections.IList.IsFixedSize For a description of this member, see IList.IsFixedSize.
Top

Community Additions

ADD
Show: