_ApplicationEvents_Event.XDocumentBeforeClose Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs immediately before any open document closes.
public:
event Microsoft::Office::Interop::InfoPath::_ApplicationEvents_XDocumentBeforeCloseEventHandler ^ XDocumentBeforeClose;
event Microsoft.Office.Interop.InfoPath._ApplicationEvents_XDocumentBeforeCloseEventHandler XDocumentBeforeClose;
member this.XDocumentBeforeClose : Microsoft.Office.Interop.InfoPath._ApplicationEvents_XDocumentBeforeCloseEventHandler
Event XDocumentBeforeClose As _ApplicationEvents_XDocumentBeforeCloseEventHandler
Event Type
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.