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



unit
The unit to discard.

Glossary Item Box

Discards an System.ComponentModel.Design.UndoEngine.UndoUnit.

Syntax

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

Parameters

unit
The unit to discard.

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