OleUndoEngine 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为设计器提供撤消管理的默认实现。
public ref class OleUndoEngine : System::ComponentModel::Design::UndoEngine, Microsoft::VisualStudio::TextManager::Interop::IVsLinkedUndoClient
public class OleUndoEngine : System.ComponentModel.Design.UndoEngine, Microsoft.VisualStudio.TextManager.Interop.IVsLinkedUndoClient
type OleUndoEngine = class
inherit UndoEngine
interface IVsLinkedUndoClient
Public Class OleUndoEngine
Inherits UndoEngine
Implements IVsLinkedUndoClient
- 继承
-
OleUndoEngine
- 实现
构造函数
| OleUndoEngine(IServiceProvider) |
初始化 OleUndoEngine 的新实例。 |
方法
| AddUndoUnit(UndoEngine+UndoUnit) |
将撤消单元添加到撤消单元管理器中。 |
| CreateUndoUnit(String, Boolean) |
创建新的撤消单元。 |
| DiscardUndoUnit(UndoEngine+UndoUnit) |
如果此单元为父撤消单元,则关闭它。 |
| Dispose(Boolean) |
释放此对象的资源。 |
显式接口实现
| IVsLinkedUndoClient.OnInterveningUnitBlockingLinkedUndo() |
指示撤消管理器正在阻止另一个撤消管理器执行链接的操作。 |