UndoManager.OnInterveningUnitBlockingLinkedUndo 方法

指示取消管理器块另一个取消从执行一个链接的事件管理器的。

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

语法

声明
Public Overridable Function OnInterveningUnitBlockingLinkedUndo As Integer
public virtual int OnInterveningUnitBlockingLinkedUndo()

返回值

类型:System.Int32

实现

IVsLinkedUndoClient.OnInterveningUnitBlockingLinkedUndo()

备注

这可能发生后强链接跨多个取消文档。默认实现返回 E_FAIL,使 shell 通知用户取消无法完成。

.NET Framework 安全性

请参见

参考

UndoManager 类

Microsoft.VisualStudio.Modeling.Shell 命名空间