Share via


ApplicationEvents3_DocumentBeforeSaveEventHandler Delegate

This event handler is included for backward compatibility only. It is recommended that you use the latest version of this event handler with the same name.

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

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ApplicationEvents3_DocumentBeforeSaveEventHandler ( _
    Doc As Document, _
    ByRef SaveAsUI As Boolean, _
    ByRef Cancel As Boolean _
)
'Usage
Dim instance As New ApplicationEvents3_DocumentBeforeSaveEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void ApplicationEvents3_DocumentBeforeSaveEventHandler(
    Document Doc,
    ref bool SaveAsUI,
    ref bool Cancel
)

Parameters

  • SaveAsUI
    Type: System.Boolean%
    This event parameter is included for backward compatibility only.
  • Cancel
    Type: System.Boolean%
    This event parameter is included for backward compatibility only.

See Also

Reference

Microsoft.Office.Interop.Word Namespace