_ApplicationEvents_Event.XDocumentBeforeClose event

Occurs immediately before any open document closes.

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

event _ApplicationEvents_XDocumentBeforeCloseEventHandler XDocumentBeforeClose

The XDocumentBeforeClose event of the _ApplicationEvents_Event interface is primarily used with COM Add-ins. For more information about creating a COM Add-in for Microsoft InfoPath, see How to: Create a COM Add-in to Add Custom Features to InfoPath.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft