Method Undo | Edit this page View Source Undo() Code to revert whatever was executed. Declaration void Undo()