Version

RegisterReference Method

Used to associate an object with a given UndoManager
Syntax
'Declaration
 
Public Sub RegisterReference( _
   ByVal reference As Object _
) 
public void RegisterReference( 
   object reference
)

Parameters

reference
The object with which to associate this UndoManager instance
Remarks

Registering an object with an UndoManager allows a reference to the object to be passed to static methods that are used to obtain the UndoManager with which an undo operation should be registered. This allows an object to not have to store a reference to the UndoManager directly.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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