Share via


SubmitEventArgs Class (Microsoft.Office.InfoPath)

Provides data for the Submit event.

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.

Inheritance Hierarchy

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

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