Method SetChecked
SetChecked(int, bool)
Checks or clears the check state for the specified item in a StdCheckListBox.
void SetChecked(int index, bool value)
Parameters
indexintThe zero-based index of the item in a StdCheckListBox to set or clear the check state.
valuebooltrueto check the specified item; otherwise, false.
Exceptions
- ArgumentOutOfRangeException
The specified index was outside the range of valid values.