RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TObjectList.Extract Method

Removes a specified object from the list without freeing it.

Pascal
function Extract(Item: TObject): TObject;
C++
__fastcall TObject * Extract(TObject * Item);

Call Extract to remove an object from the list without freeing the object itself. After an object is removed, all the objects that follow it are moved up in index position and Count is decremented. 

 

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