|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
_XDocumentEventSink2_Event Members (Microsoft.Office.Interop.InfoPath.SemiTrust)
Implements form-level events.
The following tables list the members exposed by the _XDocumentEventSink2_Event type.
|OnAfterImport||Occurs after the import (or merge) operation has successfully completed.|
|OnContextChange||Occurs after the context node changes.|
|OnLoad||Occurs after a Microsoft Office InfoPath 2007 form has been loaded, but before any views have been initialized.|
|OnMergeRequest||Occurs when the merge operation is invoked either from the Microsoft Office InfoPath 2007 user interface or from the command line by using the /aggregate option.|
|OnSaveRequest||Occurs when the save operation is invoked from the Microsoft Office InfoPath 2007 user interface or by using the Save or SaveAs methods.|
|OnSign||Occurs after a set of signed data has been selected to sign through the Digital Signature wizard.|
|OnSubmitRequest||Occurs when the submit operation is invoked either from the Microsoft Office InfoPath 2007 user interface or by using Submit method.|
|OnSwitchView||Occurs after a view in a Microsoft Office InfoPath 2007 form has been successfully switched.|
|OnVersionUpgrade||Occurs when the version number of a Microsoft Office InfoPath 2007 form being opened is older than the version number of the form template on which it is based.|