Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Occurs immediately before any open document closes.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
Syntax
'Declaration
Event XDocumentBeforeClose As _ApplicationEvents_XDocumentBeforeCloseEventHandler
'Usage
Dim instance As _ApplicationEvents_Event
Dim handler As _ApplicationEvents_XDocumentBeforeCloseEventHandler
AddHandler instance.XDocumentBeforeClose, handler
event _ApplicationEvents_XDocumentBeforeCloseEventHandler XDocumentBeforeClose
Remarks
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.
See Also
Reference
_ApplicationEvents_Event Interface