Skip to content

TThreadList.Remove

Removes an item from the list.

Declaration

Source position: classesh.inc line 654

public 
procedure TThreadList.Remove(Item: Pointer);

Description

Remove attempts to lock the list and then removes Item from the list. After the item is removed, the list is again unlocked.

See also

Name Description
LockList Locks the list for exclusive access.
Add Adds an element to the list.
Clear Removes all elements from the list.
UnlockList Unlocks the list after it was locked.