help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TCollection.Clear

Removes all items from the collection.

Declaration

Source position: classesh.inc line 413

public procedure TCollection.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

TCollection.Add

  

Creates and adds a new item to the collection.

TCollectionItem.Destroy

  

Destroyes this collection item.

TCollection.Destroy

  

Destroys the collection and frees all the objects it manages.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505