RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TList.Add Method

Add item to end of list.

Pascal
function Add(const Value: T): Integer;
C++
__fastcall int Add(const T Value);

Add adds a given item to the end of the list. You can add nil. The capacity, Capacity, of the list is increased if necessary. This is an O(1) operation. 

An OnNotify event occurs indicating an entry was added to the list. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!