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

# IDLffShape::Cleanup

The IDLffShape::Cleanup procedure method performs all cleanup on a Shapefile object. If the Shapefile being accessed by the object is open and the file has been modified, the new information is written to the file if one of the following conditions is met:

- The file was opened with write permissions using the UPDATE keyword to the IDLffShape::Open method
- It is a newly created file that has not been written previously.

## Syntax

Obj->Cleanup

or

Obj->[IDLffShape::]Cleanup

or

OBJ_DESTROY, Obj

## Arguments

None

## Keywords

None

## Version History

5.4 | Introduced