DeleteObject

DeleteObject

Stack
Stack   Description
Stack(In)   (persistent) object
Stack(Out)   -

The object is

The operation is inverse to CreatePersObject: it removes the object from collections, in which it would be entered. To avoid an unnecessary search through many collections, DeleteObject also conforms to SetLayer, SetDomain(WRITE) and SetPattern settings.
The following Example shows the connection between Layer, Domain and BitPattern for Inheritance.

A deleted  object can be reactivated with UndeleteObject.

An object can be asked, whether it has been (logically) deleted or not via function CX_SIMPLE::Deleted().