DataDOMEvent members

Office 2013 and later

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeDataDOMEventObject.

The DataDOMEvent type exposes the following members.

  Name Description
Public property IsUndoRedo Gets a value indicating whether the data validation event occurs during an undo operation or a redo operation.
Public property MatchExpression Gets the XPath expression for the XML Document Object Model (DOM) node for which the event is currently being processed.
Public property NewValue Gets the value of an XML Document Object Model (DOM) node that is being updated or inserted during a data validation event.
Public property OldValue Gets the original value of an XML Document Object Model (DOM) node that is being updated or deleted during a data validation event.
Public property Operation Gets the type of action that is applied to an XML Document Object Model (DOM) node during a data validation event.
Public property Parent Gets 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.
Public property ReturnMessage Gets or sets the error message that will be returned if the data validation event is not successful.
Public property ReturnStatus Gets or sets a value indicating the return status of the data validation event.
Public property ReturnStatus Gets or sets the return status of the OnClick event. (Inherited from DocActionEvent.)
Public property ReturnStatus Gets or sets a value indicating the return status of the OnLoad event and the OnSubmitRequest event. (Inherited from DocReturnEvent.)
Public property Site Gets a reference to the XML Document Object Model (DOM) node where the data validation event is currently being processed.
Public property Source Gets a reference to the XML Document Object Model (DOM) where the data validation event is occurring.
Public property Source Gets a reference to the inner-most XML Document Object Model (DOM) node of a form's underlying XML document. (Inherited from DocActionEvent.)
Public property XDocument Gets a reference to the XDocument object that is associated with the DataDOMEventObject object during a data validation event.
Public property XDocument Gets a reference to the XDocument object that is associated with the DocActionEventObject event during an OnClick event. (Inherited from DocActionEvent.)
Public property XDocument Gets a reference to the XDocument object that is associated with the DocEventObject object during an OnSwitchView or OnAfterImport event. (Inherited from DocEvent.)
Public property XDocument Gets a reference to the XDocument object that is associated with the DocReturnEventObject object during an OnLoad or OnSubmitRequest event. (Inherited from DocReturnEvent.)
Top

  Name Description
Public method ReportError Creates an ErrorObject object and adds it to the ErrorsCollection collection.
Top
Show: