RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TObjectQueue.Pop Method

Removes and returns the object at the front of the queue.

Pascal
function Pop: TObject;
C++
__fastcall TObject * Pop();

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!