TThreadList.Clear¶
Removes all elements from the list.
Declaration¶
Source position: classesh.inc line 652
public
procedure TThreadList.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 |
|---|---|
| LockList | Locks the list for exclusive access. |
| Add | Adds an element to the list. |
| Remove | Removes an item from the list. |
| UnlockList | Unlocks the list after it was locked. |