Routines (alphabetical) > Object Classes > File Format Object Classes > IDLffDICOM::Cleanup

# IDLffDICOM::Cleanup

Syntax | Arguments | Keywords | Examples | Version History

The IDLffDICOM::Cleanup procedure method destroys the IDLffDICOM object.

## Syntax

Obj->Cleanup

or

Obj->[IDLffDICOM::]Cleanup

or

OBJ_DESTROY, Obj

## Arguments

None

## Keywords

None

## Examples

; Create a DICOM object, read a DICOM file and dump its contents:

obj = OBJ_NEW( 'IDLffDICOM' )

var = obj->Read(DIALOG_PICKFILE(FILTER="*"))

obj->DumpElements

OBJ_DESTROY, obj

; Executing this statement should produce an invalid object

; reference error since obj no longer exists:

obj->DumpElements

## Version History

5.2 | Introduced