DataDOMEvent Object Members

InfoPath Developer Reference

An event object that is used during InfoPath data validation events.

Methods

  Name Description
Bb230024.methods(en-us,office.12).gif ReportError Creates an Error object and adds it to the Errors collection.

Properties

  Name Description
Bb230024.properties(en-us,office.12).gif IsUndoRedo A read-only property that returns a Boolean value indicating whether the data validation event occurs during an undo operation or a redo operation. Read-only
Bb230024.properties(en-us,office.12).gif MatchExpression RA read-only property that returns a string value containing the XPath expression for the XML Document Object Model (DOM) node for which the event is currently being processed. Read-only
Bb230024.properties(en-us,office.12).gif NewValue A read-only property that returns a string value indicating the value of an XML Document Object Model (DOM) node that is being updated or inserted during a data validation event. Read-only
Bb230024.properties(en-us,office.12).gif OldValue A read-only property that returns a string value indicating the original value of an XML Document Object Model (DOM) node that is being updated or deleted during a data validation event. Read-only
Bb230024.properties(en-us,office.12).gif Operation A read-only property that returns a string value indicating the type of action that is applied to an XML Document Object Model (DOM) node during a data validation event. Read-only
Bb230024.properties(en-us,office.12).gif Parent A read-only property that returns a reference to the XML Document Object Model (DOM) node of the parent of the XML DOM node being changed during a data validation event. Read-only
Bb230024.properties(en-us,office.12).gif ReturnMessage Sets or retrieves a string value indicating the error message that will be returned if the data validation event is not successful. Read/write
Bb230024.properties(en-us,office.12).gif ReturnStatus Sets or retrieves a Boolean value indicating the return status of the data validation event. Read/write
Bb230024.properties(en-us,office.12).gif Site A read-only property that returns a reference to the XML Document Object Model (DOM) node where the data validation event is currently being processed. Read-only
Bb230024.properties(en-us,office.12).gif Source A read-only property that returns a reference to the XML Document Object Model (DOM) where the data validation event is occurring. Read-only
Bb230024.properties(en-us,office.12).gif XDocument A read-only property that returns a reference to the XDocument object that is associated with the DataDOMEvent object during a data validation event. Read-only