Export (0) Print
Expand All

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)> _
PublicDelegateSubApplicationEvents2_DocumentBeforeCloseEventHandler ( _
	DocAsDocument, _
	ByRefCancelAsBoolean _
)
'Usage
DiminstanceAsNewApplicationEvents2_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:
© 2014 Microsoft