System.Contnrs.TOrderedList.PeekItem

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function PeekItem: Pointer; virtual;

C++

virtual void * __fastcall PeekItem();

Properties

Type Visibility Source Unit Parent
function protected
System.Contnrs.pas
System.Contnrs.hpp
System.Contnrs TOrderedList

Description

Returns a pointer to the next item in the list.

The protected PeekItem method provides the underlying implementation for the Peek method. It returns the last item in the list specified by the List property.

Override this method to return a different item in descendant classes that do not maintain the list in reverse output order.

See Also