ListView.getSelectedItems

Overview | Methods | This Package | All Packages

ListView.getSelectedItems

Retrieves an array containing all selected items in a list view control.

Syntax

public ListItem[] getSelectedItems()

Return Value

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.