SubmitEventArgs class

Provides data for the Submit event.

Inheritance hierarchy

System.Object
  System.EventArgs
    Microsoft.Office.InfoPath.SubmitEventArgs

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

Syntax

'Declaration
Public MustInherit Class SubmitEventArgs _
    Inherits EventArgs
'Usage
Dim instance As SubmitEventArgs
public abstract class SubmitEventArgs : EventArgs

Remarks

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.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SubmitEventArgs members

Microsoft.Office.InfoPath namespace