InfoPathEventType enumeration

Specifies the type of event defined by an InfoPathEventHandlerAttribute.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
Public Enumeration InfoPathEventType
'Usage
Dim instance As InfoPathEventType
public enum InfoPathEventType

Members

Member name Description
None No type is specified.
OnLoad Specifies an event handler for an OnLoad event.
OnSwitchView Specifies an event handler for an OnSwitchView event.
OnAfterImport Specifies an event handler for an OnAfterImport event.
OnSubmitRequest Specifies an event handler for an OnSubmitRequest event.
OnVersionUpgrade Specifies an event handler for an OnVersionUpgrade event.
OnMergeRequest Specifies an event handler for an OnMergeRequest event.
OnSaveRequest Specifies an event handler for an OnSaveRequest event.
OnSign Specifies an event handler for an OnSign event.
OnContextChange Specifies an event handler for an OnContextChange event.
OnBeforeChange Specifies an event handler for an OnBeforeChange event.
OnAfterChange Specifies an event handler for an OnAfterChange event.
OnValidate Specifies an event handler for an OnValidate event.
OnClick Specifies an event handler for an OnClick event.

Remarks

Important

To prevent errors in the specification of the InfoPathEventHandler attribute for an event handler, you should only use InfoPath user interface commands to add the stub for event handler code. For more information, see How to: Add an Event Handler Using the InfoPath 2003 Object Model.

See also

Reference

Microsoft.Office.Interop.InfoPath.SemiTrust namespace