Skip to main content
Version: 4.1

CheckedObjectCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents the collection of checked items in the CheckedListBox.

public class CheckedObjectCollection : IList, ICollection, IEnumerable

Properties

Instance member Count

Int32: Returns the number of selected items.

Instance member IsReadOnly

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

Instance member Item(index)

Object: Return an item in the checked items collection.

Throws:

Methods

Instance member Contains(item)

Determines if the specified item is located within the collection.

ParameterTypeDescription
itemObjectAn object representing the item to locate in the collection.

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

Instance member CopyTo(array, index)

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

ParameterTypeDescription
arrayArrayThe destination array.
indexInt32The zero-based relative index in array at which copying begins.

Throws:

Instance member GetEnumerator()

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

Returns: IEnumerator. An IEnumerator for navigating through the list.

Instance member IndexOf(item)

Returns an index into the collection of checked items.

ParameterTypeDescription
itemObjectThe object whose index you want to retrieve. This object must belong to the checked items collection.

Returns: Int32. The index of the object in the checked item collection or -1 if the object is not in the collection.