次の方法で共有


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