Microsoft SDK for Java

ListView.removeItem

Removes the specified item from the list view control.

Syntax

public void removeItem( int index )

public void removeItem( ListItem item )

Parameters

index

The zero-based index of the item to remove.

item

The ListItem object that represents the item to remove.

Exceptions

WFCInvalidArgumentException thrown if the specified index is not valid or if the specified ListItem object is null.

See Also   addItem

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