RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOrderedList.Destroy Destructor

Destroys the TOrderedList instance.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TOrderedList();

Do not call Destroy directly. Instead, call Free. Free verifies that the TOrderedList reference is not nil, and only then calls Destroy. 

Destroy frees the memory used to store the TOrderedList instance. It does not free the memory pointed to by the items in the list. 

 

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