AddUndoUnit Method
See Also 
SourceCode.Framework.Design Namespace > UndoEngine Class : AddUndoUnit Method



unit
The undo unit to add

Glossary Item Box

Adds an System.ComponentModel.Design.UndoEngine.UndoUnit to the undo stack.

Syntax

Visual Basic (Declaration) 
Protected Overrides Sub AddUndoUnit( _
   ByVal unit As UndoEngine.UndoUnit _
) 
Visual Basic (Usage)Copy Code
Dim instance As UndoEngine
Dim unit As UndoEngine.UndoUnit
 
instance.AddUndoUnit(unit)
C# 
protected override void AddUndoUnit( 
   UndoEngine.UndoUnit unit
)
C++/CLI 
protected:
void AddUndoUnit( 
   UndoEngine.UndoUnit^ unit
) override 

Parameters

unit
The undo unit to add

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