Microsoft SDK for Java

ListItem.getSubItems

Retrieves all the subitems associated with this list item.

Syntax

public String[] getSubItems()

Return Value

Returns an array of strings containing the text for all the subitems associated with this list item.

Remarks

For a subitem to be visible, the list view control must be in Report view, and a column must exist to display the subitem. To add a column to a list view control, use the addColumn, insertColumn, or setColumns method of the ListView control.

See Also   setSubItems

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