DataDOMEvent Object Members
InfoPath Developer Reference |
An event object that is used during InfoPath data validation events.
Methods
Name | Description | |
---|---|---|
ReportError | Creates an Error object and adds it to the Errors collection. |
Properties
Name | Description | |
---|---|---|
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
ReturnStatus | Sets or retrieves a Boolean value indicating the return status of the data validation event. Read/write | |
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 | |
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 | |
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 |