SelectedItems

>>-aListBox~SelectedItems--------------------------------------><


The SelectedItems method retrieves the number of items that are currently selected in the associated multiselection list box.

Return value:

The number of selected items, or -1 if this method fails, for example if the list box is no multiselection list box.

Example:

For an example, refer to SelectedIndexes.