CheckedListBox.getCheckedIndices

Overview | Methods | This Package | All Packages

CheckedListBox.getCheckedIndices

Retrieves an array that contains the zero-based indices of all items with checked check boxes.

Syntax

public final int [] getCheckedIndices()

Return Value

Returns an array that contains the zero-based indices of all items with checked check boxes. Items with indeterminate (shaded) check boxes are included in the returned array. If there are no items in the checked list box that have checked check boxes, this method returns an empty array.