ApplicationEvents4_ProtectedViewWindowBeforeEditEventHandler 委托
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于为事件添加事件处理程序的ProtectedViewWindowBeforeEdit委托类型。 在指定受保护的视图窗口中对文档启用编辑之前,将立即发生 ProtectedViewWindowBeforeEdit 事件。
public delegate void ApplicationEvents4_ProtectedViewWindowBeforeEditEventHandler(ProtectedViewWindow ^ PvWindow, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void ApplicationEvents4_ProtectedViewWindowBeforeEditEventHandler(ProtectedViewWindow PvWindow, out bool Cancel);
type ApplicationEvents4_ProtectedViewWindowBeforeEditEventHandler = delegate of ProtectedViewWindow * bool -> unit
Public Delegate Sub ApplicationEvents4_ProtectedViewWindowBeforeEditEventHandler(PvWindow As ProtectedViewWindow, ByRef Cancel As Boolean)
参数
- PvWindow
- ProtectedViewWindow
包含将启用编辑的文档的受保护视图窗口。
- Cancel
- Boolean
当事件发生时为 false。 如果事件过程将此参数设置为 true,则不会对文档启用编辑。
- 属性
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈