System.Generics.Collections.TThreadList.Remove
Delphi
procedure Remove(const Item: T); inline;
C++
void __fastcall Remove(const T Item);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TThreadList |
Description
Removes the first occurrence of the value.
Remove removes the first instance of Value in the thread-safe list. Since the search is linear, it is an O(n) operation for a thread-safe list with n entries.