Programmer's Guide > Interfaces > CMSObject interface > deleteObject method
  
deleteObject method
Deletes the object from the CMS. All versions of the object will be deleted. After calling this method, you can no longer use this CMSObject object.
If the CMS supports referential integrity, this will fail if any of the deleted object versions are referenced as children of other objects.
deleteObject( )
Parameters
None
Returns
void
Throws
CMSException
If an error occurs.