Undo: IEmHistoryItem;
Undo(): Prognoz.Platform.Interop.Modeller.IEmHistoryItem;
The Undo method performs transition to the previous record in the calculation history.
Transition is possible only if current record is not the first. The IEmHistory.ActiveItem property returns current record index.
After execution the method returns the record, transition to which has been performed. The IEmHistory.ActiveItem property value decreases by one.
The method use is given in the example for IEmHistory.ActiveItem.
See also: