System.Contnrs.TObjectStack.Pop
Delphi
function Pop: TObject; inline;
C++
HIDESBASE System::TObject* __fastcall Pop(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Contnrs.pas System.Contnrs.hpp |
System.Contnrs | TObjectStack |
Description
Removes and returns the object at the top of the stack.
Call Pop to retrieve an object from the stack. Pop removes the next object from the stack (that is, the last object added), then returns a reference to the deleted object.
To access the stack without removing an object, call Peek.
See Also
Code Examples