Retrieves an array containing all selected items in a list view control.
public ListItem[] getSelectedItems()
Returns an array of ListItem objects that represents all the currently selected items. In a single-selection list view control, returns an array containing a single element. If there are no selected items in the list view control, returns an empty array.