GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDocument Class / CopyOldValueForUndo Method
In This Topic
    CopyOldValueForUndo Method (GoDocument)
    In This Topic
    This is called during the construction of a GoChangedEventArgs in order to record the older/previous value for a document change.
    Syntax
    public virtual void CopyOldValueForUndo( 
       GoChangedEventArgs e
    )

    Parameters

    e
    Remarks
    This method needs to be overridden for a particular kind of changed event only when the previous value state is not held in arguments to the call to RaiseChanged, or when those arguments are actually references to objects containing the real previous state that might be overwritten or lost by subsequent changes.
    See Also