Partager via


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