_ApplicationEvents_Event.XDocumentBeforeClose Event

Definition

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.

Applies to