API:System.Contnrs.TObjectStack.Push
Delphi
function Push(AObject: TObject): TObject; inline;
C++
HIDESBASE System::TObject* __fastcall Push(System::TObject* AObject);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Contnrs.pas System.Contnrs.hpp |
System.Contnrs | TObjectStack |
Description
Adds an item to the list.
System.Contnrs.TObjectStack.Push inherits from System.Contnrs.TOrderedList.Push. All content below this line refers to System.Contnrs.TOrderedList.Push.
Adds an item to the list.
Call Push to add an item to the list.
AItem is the item to add.
Push returns a reference to the item that was just added (AItem).