IApplicationEvents4.ProtectedViewWindowBeforeClose Method

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

Syntax

'Declaration
Sub ProtectedViewWindowBeforeClose ( _
    PvWindow As ProtectedViewWindow, _
    CloseReason As Integer, _
    <OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As IApplicationEvents4
Dim PvWindow As ProtectedViewWindow
Dim CloseReason As Integer
Dim Cancel As Boolean

instance.ProtectedViewWindowBeforeClose(PvWindow, _
    CloseReason, Cancel)
void ProtectedViewWindowBeforeClose(
    ProtectedViewWindow PvWindow,
    int CloseReason,
    out bool Cancel
)

Parameters

See Also

Reference

IApplicationEvents4 Interface

IApplicationEvents4 Members

Microsoft.Office.Interop.Word Namespace