ListItem Object

This object consists of text, the index of an associated icon (ListImage object), and, in Report view, an array of strings representing subitems.

Syntax

listview.ListItem

Parameters

listview
Object expression that evaluates to a ListView control.

The ListItem object supports the following properties:

Remarks

ListItem objects can contain both text and pictures. However, to use pictures you must reference an ImageList control using the Icons and SmallIcons properties. You can change the image by using the Icon or SmallIcon property.