Additional Topics > Medical Imaging in IDL > IDL DICOM Reference > IDLffDicomExQuery::Cleanup

# IDLffDicomExQuery::Cleanup

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

Note: Cleanup methods are special lifecycle methods, and as such cannot be called outside the context of object creation and destruction. In most cases, you cannot call the Cleanup method directly. However, one exception to this rule does exist. 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

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

## Arguments

None

## Keywords

None

## Version History

6.3 | Introduced