UndoManager.VSUndoManager 属性

要使用此撤消管理器应推送到 SEID 的窗口框架。 我们无法在托管对象中包装 IOleUndoManager,因为属性浏览器 QI 是针对 MS.VS.NativeMethods.IOleCommandTarget 的,而它是私有的,因此,我们无法在此类上实现。

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

语法

声明
Public ReadOnly Property VSUndoManager As IOleUndoManager
public IOleUndoManager VSUndoManager { get; }

属性值

类型:Microsoft.VisualStudio.OLE.Interop.IOleUndoManager

.NET Framework 安全性

请参阅

参考

UndoManager 类

Microsoft.VisualStudio.Modeling.Shell 命名空间