OleUndoEngine.DiscardUndoUnit Method
This member overrides UndoEngine.DiscardUndoUnit(UndoUnit), and more complete documentation might be available in that topic.
Closes this unit if it is a parent undo unit.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Protected Overrides Sub DiscardUndoUnit ( _
unit As UndoUnit _
)
protected override void DiscardUndoUnit(
UndoUnit unit
)
protected:
virtual void DiscardUndoUnit(
UndoUnit^ unit
) override
abstract DiscardUndoUnit :
unit:UndoUnit -> unit
override DiscardUndoUnit :
unit:UndoUnit -> unit
protected override function DiscardUndoUnit(
unit : UndoUnit
)
Parameters
unit
Type: UndoUnit
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Shell.Design Namespace
OnInterveningUnitBlockingLinkedUndo