discard

discard();

The discard method of the OleControl class closes the OLE object presentation and deletes any stored data.