IApplicationEvents4.ProtectedViewWindowBeforeClose Method

Definition

public:
 void ProtectedViewWindowBeforeClose(Microsoft::Office::Interop::Word::ProtectedViewWindow ^ PvWindow, int CloseReason, [Runtime::InteropServices::Out] bool % Cancel);
public void ProtectedViewWindowBeforeClose (Microsoft.Office.Interop.Word.ProtectedViewWindow PvWindow, int CloseReason, out bool Cancel);
abstract member ProtectedViewWindowBeforeClose : Microsoft.Office.Interop.Word.ProtectedViewWindow * int * bool -> unit
Public Sub ProtectedViewWindowBeforeClose (PvWindow As ProtectedViewWindow, CloseReason As Integer, ByRef Cancel As Boolean)

Parameters

CloseReason
Int32
Cancel
Boolean

Applies to