共用方式為


UndoManager.VSUndoManager 屬性

這是什麼應該為想要使用此復原管理員視窗框架推入至 SEID。 因為屬性瀏覽器 QI 的 MS 的我們無法將 IOleUndoManager 包裝在受管理的物件中。VS>。NativeMethods.IOleCommandTarget,是私用的所以我們無法在這個類別上實作它。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
Public ReadOnly Property VSUndoManager As IOleUndoManager
public IOleUndoManager VSUndoManager { get; }

屬性值

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

.NET Framework 安全性

請參閱

參考

UndoManager 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間