[]
Sets the selection state of an item in a IListBox.
void SetSelected(int index, bool value)
Sub SetSelected(index As Integer, value As Boolean)
Type | Name | Description |
---|---|---|
int | index | An integer with a range from 0 to one less than the number of items in the list box. |
bool | value | A value indicating whether an item is selected. |