JCL Help:IJclDynArrayTypeInfo.GetElementsNeedCleanup
JCL Help: IJclDynArrayTypeInfo.GetElementsNeedCleanup Method
Search in JCL Help
Search in all projects
Summary
Determines if elements need cleanup.
Pascal
function GetElementsNeedCleanup: Boolean;
Return Value
If the elements of the array need cleanup the function returns True, otherwise it returns false.
Description
GetElementsNeedCleanup determines if the elements require cleanup when elements are discarded. GetElementsNeedCleanup is the read specifier for the ElementsNeedCleanup property.
About
Donator
Marcel Bestebroer
Notes
The decision is made by examining the elType member of the type data. If it's not nil cleanup is required. For constructions that do not create RTTI for the elements this decision might be wrong (notably with record constructs containing long strings as in TMyArray = array of record x: Integer; y: string; end).
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page