System.Contnrs.TOrderedList.PopItem

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function PopItem: Pointer; virtual;

C++

virtual void * __fastcall PopItem();

Properties

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

Description

Removes and returns a pointer to the next item in the list.

The protected PopItem method provides the underlying implementation for the Pop method. It removes the last item from the list specified by the List property and returns a pointer to the deleted item.

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

See Also