Click or drag to resize

IMcUndoableRestore Method

Called by the Undo-Redo manager to restore a previously saved, object's state

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Sub Restore ( 
	RestoreFrom As Object,
	Context As Object,
	StateID As Integer,
	Operation As Integer,
	IsUndoState As Integer
)

Parameters

RestoreFrom
Type: SystemObject
VARIANT : The variant from which the undoable should restore itself (this is the BackupTo [out] argument that the Backup method call filled).
Context
Type: SystemObject
VARIANT : A extra variant passed by the Push function, used by the client to store optimization information
StateID
Type: SystemInt32
long : The internal unique ID, generated by the Undo-Redo manager
Operation
Type: SystemInt32
long : A code describing the operation applied to the undoable saved by a Push, just after the Push occurs. This code is used for optimization purpose
IsUndoState
Type: SystemInt32
BOOL : This boolean tells the undoable where its state was saved (internal undo or redo stack) This boolean can be used for optimization
See Also