Search
Item.SaveState Method
See Also
 






Saves the state of this item.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

protected virtual ItemState SaveState ()

Visual Basic  Copy Code

Protected Overridable Function SaveState () As ItemState

 Return Value

An ItemState that represents the current state of the item.

 Remarks

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

 See Also