AddUndoUnit method

Microsoft Visio Developer Reference

AddUndoUnit method

       

Adds an object that supports the IOleUndoUnit or IVBUndoUnit interface to the Microsoft Visio undo queue.

Version added

2000

Syntax

object.AddUndoUnit (object)

object

Required. An expression that returns an Application object.

object

Required. An object that supports the IOleUndoUnit or IVBUndoUnit interface.

Remarks

For information about implementing the IOleUndoUnit interface on your object, see the Microsoft Platform SDK on the Microsoft Developer Network (MSDN) Web site. For information about implementing the IVBUndoUnit interface, see Developing Visio Solutions on the MSDN Web site.