The IDL_Container::Cleanup procedure method performs all cleanup on the object.

Note: The IDL_Container::Cleanup method will destroy all contained objects or pointers, regardless of their current reference count.

Note: Cleanup methods are special lifecycle methods, and as such cannot be called outside the context of object creation and destruction. This means that in most cases, you cannot call the Cleanup method directly. There is one exception to this rule: If you write your own subclass of this class, you can call the Cleanup method from within the Init or Cleanup method of the subclass.

Syntax


OBJ_DESTROY, Obj

or

Obj->[IDL_Container::]Cleanup     (In a lifecycle method only.)

Arguments


None.

Keywords


None.

Version History


5.0

Introduced