ComboBox.ObjectCollection

Wisej.Web.ComboBox ObjectCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents the collection of items in a Wisej.Web.ComboBox control.

public class ObjectCollection : IList, ICollection, IEnumerable

Properties

Int32: Returns the number of items in the collection.

Boolean: Returns a value indicating whether this collection can be modified.

Object: Retrieves the item at the specified index within the collection.

Throws:

Methods

Adds an item to the list of items for a ComboBox.

Returns: Int32. The zero-based index of the item in the collection.

Throws:

Adds a collection of items to the list.

Removes all items from the ComboBox.

Determines if the specified item is located within the collection.

Returns: Boolean. true if the item is located within the collection; otherwise, false.

Throws:

Copies the entire collection into an existing array of objects at a specified location within the array.

Returns an enumerator that can be used to iterate through the item collection.

Returns: IEnumerator. A IEnumerator that represents the item collection.

Retrieves the index within the collection of the specified item.

Returns: Int32. The zero-based index where the item is located within the collection; otherwise, -1.

Throws:

Inserts an item into the collection at the specified index.

Throws:

Removes the specified item from the ComboBox.

Removes an item from the ComboBox at the specified index.

Throws:

  • ArgumentOutOfRangeException The index parameter was less than zero, or the index parameter was greater than or equal to the count of items in the collection.

Events

CollectionChangeEventHandler Fired when the collection changes.

Last updated