IApplicationEvents4.DocumentBeforeSave Method

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

Syntax

'Declaration
Sub DocumentBeforeSave ( _
    Doc As Document, _
    ByRef SaveAsUI As Boolean, _
    <OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As IApplicationEvents4
Dim Doc As Document
Dim SaveAsUI As Boolean
Dim Cancel As Boolean

instance.DocumentBeforeSave(Doc, SaveAsUI, _
    Cancel)
void DocumentBeforeSave(
    Document Doc,
    ref bool SaveAsUI,
    out bool Cancel
)

Parameters

See Also

Reference

IApplicationEvents4 Interface

IApplicationEvents4 Members

Microsoft.Office.Interop.Word Namespace