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