Search
Item.RestoreState Method
See Also
 






Restores the state of this item.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

protected virtual void RestoreState (
    ItemState state
)

Visual Basic  Copy Code

Protected Overridable Sub RestoreState( _
    state As ItemState _
)

 Parameters

state

A ItemState that represents previous state of the item.

 Remarks

This method is used by the undo/redo system to restore an item to a previous state. Custom item classes must override RestoreState in order to implement undo/redo support for any additional members they define. This method should be overridden together with CreateState and SaveState.

 See Also