SubmitEventArgs class
Office 2013 and later
Provides data for the Submit event.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
The SubmitEventArgs object provides the CancelableArgs property for getting a reference to the XmlFormCancelEventArgs class which provides properties for cancelling the event and setting a custom message to display when the event is cancelled.
Show: