編輯

共用方式為


ApplicationEvents4_ProtectedViewWindowBeforeEditEventHandler Delegate

Definition

A Delegate type used to add an event handler for the ProtectedViewWindowBeforeEdit event. The ProtectedViewWindowBeforeEdit event occurs immediately before editing is enabled on the document in the specified protected view window.

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)

Parameters

PvWindow
ProtectedViewWindow

The protected view window that contains the document that is enabled for editing.

Cancel
Boolean

false when the event occurs. If the event procedure sets this argument to true, editing is not enabled on the document.

Attributes

Applies to