Visual Basic: Windows Controls

ListItems Property (ListView Control)

See Also    Example    Applies To

Returns a reference to a collection of ListItem objects in a ListView control.

Syntax

object.ListItems

The object placeholder represents an object expression that evaluates to a ListView control.

Remarks

ListItem objects can be manipulated using the standard collection methods. Each ListItem in the collection can be accessed by its unique key, which you create and store in the Key property.

You can also retrieve ListItem objects by their display position using the Index property.