This documentation is archived and is not being maintained.

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)

public abstract XmlFormCancelEventArgs CancelableArgs { get; }

Property Value

An XmlFormCancelEventArgs object that provides access to the Cancel property for cancelling the event.

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.

Show: