Skip to main content
Version: 3.5

CheckedObjectCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents the collection of checked items in the CheckedListBox.

public class CheckedObjectCollection : IList, ICollection, IEnumerable

Properties​

Instance memberCount​

Int32: Returns the number of selected items.

Instance memberIsReadOnly​

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

Instance memberItem(index)​

Object: Return an item in the checked items collection.

Throws:

Methods​

Instance memberContains(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 memberCopyTo(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 memberGetEnumerator()​

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

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

Instance memberIndexOf(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.