Skip to main content
Version: 3.5

CheckedIndexCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents the collection containing the indexes to the selected items in a CheckedListBox.

public class CheckedIndexCollection : 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)

Int32: Returns the index of a checked item in the CheckedListBox control.

Throws:

  • ArgumentException The index is less than zero.-or- The index is not in the collection.

Methods

Instance memberContains(index)

Determines if the specified index is located within the collection.

ParameterTypeDescription
indexInt32The index to locate in the collection.

Returns: Boolean. true if the index 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 CheckedIndices collection.

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

Instance memberIndexOf(index)

Returns an index into the collection of checked indexes.

ParameterTypeDescription
indexInt32The index of the checked item.

Returns: Int32. The index that specifies the index of the checked item or -1 if the index parameter is not in the checked indexes collection.