Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ApplicationEvents4_ProtectedViewWindowBeforeEditEventHandler delegate

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.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

[ComVisibleAttribute(false)]
public delegate void ApplicationEvents4_ProtectedViewWindowBeforeEditEventHandler(
	ProtectedViewWindow PvWindow,
	out bool Cancel
)

Parameters

PvWindow
Type: Microsoft.Office.Interop.Word.ProtectedViewWindow

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

Cancel
Type: System.Boolean

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

Show:
© 2015 Microsoft