ListItem.getIndex

Overview | Methods | This Package | All Packages

ListItem.getIndex

Retrieves the zero-based index of the item within the list view control.

Syntax

public int getIndex()

Return Value

Returns the zero-based index of the item within the list view control. If the item is not contained in a list view control, returns -1.