remove

remove(value: MemberType) updating, abstract;

The remove method of the Collection class removes an item from a collection. If the collection does not contain the specified item, an exception is raised.