CheckedListBox.CheckedIndexCollection

Wisej.Web.CheckedListBox 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

Int32: Returns the number of selected items.

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

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

Determines if the specified index is located within the collection.

ParameterTypeDescription

index

The index to locate in the collection.

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

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

ParameterTypeDescription

array

The destination array.

index

The zero-based relative index in array at which copying begins.

Throws:

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

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

Returns an index into the collection of checked indexes.

ParameterTypeDescription

index

The 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.

Last updated