System.Generics.Collections.TThreadList.Add

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Add(const Item: T);

C++

void __fastcall Add(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

Adds an item to the end of a thread-safe list.

Add adds a given item to the end of the thread-safe list. You can add nil. This is an O(1) operation.

See Also