GoDiagram Web Reference
CopyOldValueForUndo Method (GoDocument)

This is called during the construction of a GoChangedEventArgs in order to record the older/previous value for a document change.
Syntax
'Declaration
 
Public Overridable Sub CopyOldValueForUndo( _
   ByVal e As GoChangedEventArgs _
) 
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoDocument Class
GoDocument Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback