此成员重写 UndoEngine.DiscardUndoUnit(UndoEngine.UndoUnit),且该主题可能包括更完整的文档。
,如果它是父抵消单位,关闭此单元。
命名空间: Microsoft.VisualStudio.Shell.Design
程序集: Microsoft.VisualStudio.Shell.Design(在 Microsoft.VisualStudio.Shell.Design.dll 中)
语法
声明
Protected Overrides Sub DiscardUndoUnit ( _
unit As UndoEngine.UndoUnit _
)
protected override void DiscardUndoUnit(
UndoEngine.UndoUnit unit
)
参数
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.Shell.Design 命名空间
OnInterveningUnitBlockingLinkedUndo