RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOrderedList.PopItem Method

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

Pascal
function PopItem: Pointer; virtual;
C++
virtual __fastcall void * PopItem();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!