次の方法で共有


OleUndoEngine.DiscardUndoUnit Method

This member overrides UndoEngine.DiscardUndoUnit(UndoEngine.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

'宣言
Protected Overrides Sub DiscardUndoUnit ( _
    unit As UndoEngine.UndoUnit _
)
protected override void DiscardUndoUnit(
    UndoEngine.UndoUnit unit
)

Parameters

.NET Framework Security

See Also

Reference

OleUndoEngine Class

Microsoft.VisualStudio.Shell.Design Namespace

UndoEngine.UndoUnit

OleUndoEngine

OnInterveningUnitBlockingLinkedUndo

IVsLinkedUndoClient

OleUndoEngine

AddUndoUnit

CreateUndoUnit

Dispose

Other Resources

Supplying Undo Support to Designers