Zen API
|
Destroys the object and any aggregated child elements.
The kObject_Dispose method destroys the object itself, any resources that are owned by the object, and if the object represents a collection of objects, any child objects in the collection. See Object Destruction for more information.
When an object is destroyed (or disposed), its reference count is decremented. The object is only truly destroyed when the reference count reaches zero. See Reference Counting for more information.
To support destroying aggregated child elements during kObject_Dispose, derived classes should override the kObject_VDisposeItems method.
object | Object (or kNULL). |