TCollection.Clear

Removes all items from the collection.

Declaration

Source position: classesh.inc line 556

public 
  procedure Clear;

Description

Clear will clear the collection, i.e. each item in the collection is destroyed and removed from memory. After a call to Clear, Count is zero.

See also

Name Description
TCollection.Add Creates and adds a new item to the collection.
TCollection.Destroy Destroys the collection and frees all the objects it manages.
TCollectionItem.Destroy Destroys this collection item.

results matching ""

    No results matching ""