TThreadList.Clear
Removes all elements from the list.
Declaration
Source position: classesh.inc line 362
public
procedure Clear;
Description
Clear attempts to lock the list and then clears the list; all items are removed from the list. After the list is cleared, it is again unlocked.
See also
Name | Description |
---|---|
Add | Adds an element to the list. |
LockList | Locks the list for exclusive access. |
Remove | Removes an item from the list. |
UnlockList | Unlocks the list after it was locked. |