Share via


XmlChangingEventArgs.CancelableArgs Property (Microsoft.Office.InfoPath)

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
'Usage
Dim instance As XmlChangingEventArgs
Dim value As XmlFormCancelEventArgs

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

Property Value

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 Office InfoPath 2007.

See Also

Reference

XmlChangingEventArgs Class
XmlChangingEventArgs Members
Microsoft.Office.InfoPath Namespace