Skip to main content

destructContents

Short summary​

This method is called in the deepDestruct method and is intended to destruct all contained Objects of the collection. To delete only the collection without deleting all its contents, use destruct() instead of deepDestruct().

Parameters​

none

Code​

Declaration​

METHOD PROTECTED destructContents

Implementation​

IF (THIS^.isObjectValid(THIS^.dataObject)) THEN
THIS^.dataObject.deepDestruct();
END_IF