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