Removes the specified item from the list.
public boolean removeItem( Object item )
public Object removeItem( int index )
item
The item to remove.
index
The index of the item to remove.
The first syntax returns true if the item was removed, or returns false if the item was not found. The second syntax returns the index of the item that was removed.
WFCInvalidArgumentException thrown if the index parameter is greater than the item count or less than zero.