ApplicationEvents2_DocumentBeforeCloseEventHandler Delegate
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

ApplicationEvents2_DocumentBeforeCloseEventHandler 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)

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ApplicationEvents2_DocumentBeforeCloseEventHandler ( _
	Doc As Document, _
	ByRef Cancel As Boolean _
)
'Usage
Dim instance As New ApplicationEvents2_DocumentBeforeCloseEventHandler(AddressOf HandlerMethod)

Parameters

Doc
Type: Microsoft.Office.Interop.Word.Document
This event parameter is included for backward compatibility only.
Cancel
Type: System.Boolean%
This event parameter is included for backward compatibility only.
Show:
© 2016 Microsoft