ApplicationEvents4_ProtectedViewWindowBeforeEditEventHandler 委托

定义

用于为事件添加事件处理程序的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,则不会对文档启用编辑。

属性

适用于