XmlChangingEventArgs.CancelableArgs property

Gets an XmlFormCancelEventArgs object associated with the event.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property CancelableArgs As XmlFormCancelEventArgs
    Get
'Usage
Dim instance As XmlChangingEventArgs
Dim value As XmlFormCancelEventArgs

value = instance.CancelableArgs
public abstract XmlFormCancelEventArgs CancelableArgs { get; }

Property value

Type: Microsoft.Office.InfoPath.XmlFormCancelEventArgs
An XmlFormCancelEventArgs object that provides access to the Cancel property for cancelling the event.

Remarks

To cancel the event, set CancelableArgs.Cancel to true.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

See also

Reference

XmlChangingEventArgs class

XmlChangingEventArgs members

Microsoft.Office.InfoPath namespace