[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Objects' (#rtl)

TCollection.Insert

Insert a new item in the collection at the end.

Declaration

Source position: objects.pp line 413

procedure TCollection.Insert(

  Item: Pointer

); virtual;

Description

Insertinserts Itemin the collection. TCollectioninserts this item at the end, but descendent objects may insert it at another place.

Errors

None.

See also

TCollection.AtInsert

  

Insert an element at a certain position in the collection.

TCollection.AtPut

  

Set collection item, overwriting an existing value.