Microsoft SDK for Java

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.