OleUndoEngine.AddUndoUnit 方法

此成员重写 UndoEngine.AddUndoUnit(UndoEngine.UndoUnit),且该主题可能包括更完整的文档。

添加抵消单位到抵消单位管理器。

命名空间:  Microsoft.VisualStudio.Shell.Design
程序集:  Microsoft.VisualStudio.Shell.Design(在 Microsoft.VisualStudio.Shell.Design.dll 中)

语法

声明
Protected Overrides Sub AddUndoUnit ( _
    unit As UndoEngine.UndoUnit _
)
protected override void AddUndoUnit(
    UndoEngine.UndoUnit unit
)

参数

备注

此方法将此 OleUndoEngine.UndoUnitIOleUndoUnit 并添加抵消单位到 IOleUndoManager

.NET Framework 安全性

请参见

参考

OleUndoEngine 类

Microsoft.VisualStudio.Shell.Design 命名空间

UndoEngine.UndoUnit

OleUndoEngine

OnInterveningUnitBlockingLinkedUndo

IVsLinkedUndoClient

OleUndoEngine

CreateUndoUnit

DiscardUndoUnit

Dispose

其他资源

提供取消支持对设计器