_XDocumentEventSink2_Event Interface

Definition

Implements form-level events.

public interface class _XDocumentEventSink2_Event
[System.Runtime.InteropServices.ComVisible(false)]
public interface _XDocumentEventSink2_Event
type _XDocumentEventSink2_Event = interface
Public Interface _XDocumentEventSink2_Event
Attributes

Events

OnAfterImport

Occurs after the import (or merge) operation has successfully completed.

OnContextChange

Occurs after the context node changes.

OnLoad

Occurs after a Microsoft InfoPath form has been loaded, but before any views have been initialized.

OnMergeRequest

Occurs when the merge operation is invoked either from the Microsoft InfoPath user interface or from the command line by using the /aggregate option.

OnSaveRequest

Occurs when the save operation is invoked from the Microsoft InfoPath user interface or by using the Save() or SaveAs(String) 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 InfoPath user interface or by using Submit() method.

OnSwitchView

Occurs after a view in a Microsoft InfoPath form has been successfully switched.

OnVersionUpgrade

Occurs when the version number of a Microsoft InfoPath form being opened is older than the version number of the form template on which it is based.

Applies to