SubmitEventArgs Class (Microsoft.Office.InfoPath)
Provides data for the Submit event.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
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.