IVBUndoUnit.OnNextAdd method (Visio)

Notifies an undo unit that another undo unit has been added to the undo stack. Returns Nothing.

Syntax

expression.OnNextAdd

expression A variable that represents an IVBUndoUnit object.

Return value

Nothing

Remarks

If you are creating an undo unit for your solution, the OnNextAdd method is one of the procedures that you must implement. It gets called when the next undo unit in the same undo scope gets added to the undo stack.

When an undo unit receives an OnNextAdd notification, it communicates back to the creating object that it can no longer insert data into this undo unit.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.