次の方法で共有


XmlEventArgs.UndoRedo Property

Gets a value that indicates whether the node being changed is part of an undo or redo operation.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property UndoRedo As Boolean
    Get
'Usage
Dim instance As XmlEventArgs
Dim value As Boolean

value = instance.UndoRedo
public abstract bool UndoRedo { get; }

Property Value

Type: System.Boolean
true if the node being changed is part of an undo or redo operation; otherwise false.

Remarks

When an undo or a redo operation takes place, the form's underlying XML document is placed in a read-only state and cannot be modified. If this occurs during a Changed event, the UndoRedo property can be used to bypass the data validation logic contained in the handler for the event.

This member can be accessed without restrictions.

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

See Also

Reference

XmlEventArgs Class

XmlEventArgs Members

Microsoft.Office.InfoPath Namespace