DeleteItems

Description

Deletes all items from a ListView control.

Applies to

ListView controls

Syntax

listviewname.DeleteItems ( )

Argument

Description

listviewname

The name of the ListView control from which you want to delete all items


Return value

Integer. Returns 1 if it succeeds and -1 if an error occurs.

Examples

This example deletes all the items in a ListView control:

lv_list.DeleteItems()

See also

DeleteItem