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