Edytuj

Udostępnij za pośrednictwem


DataDOMEvent Interface

Definition

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.

public interface class DataDOMEvent : Microsoft::Office::Interop::InfoPath::DocActionEvent
[System.Runtime.InteropServices.Guid("096CD5E5-0786-11D1-95FA-0080C78EE3BB")]
public interface DataDOMEvent : Microsoft.Office.Interop.InfoPath.DocActionEvent
type DataDOMEvent = interface
    interface DocActionEvent
Public Interface DataDOMEvent
Implements DocActionEvent
Derived
Attributes
Implements

Properties

IsUndoRedo

Gets a value indicating whether the data validation event occurs during an undo operation or a redo operation.

MatchExpression

Gets the XPath expression for the XML Document Object Model (DOM) node for which the event is currently being processed.

NewValue

Gets the value of an XML Document Object Model (DOM) node that is being updated or inserted during a data validation event.

OldValue

Gets the original value of an XML Document Object Model (DOM) node that is being updated or deleted during a data validation event.

Operation

Gets the type of action that is applied to an XML Document Object Model (DOM) node during a data validation event.

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.

ReturnMessage

Gets or sets the error message that will be returned if the data validation event is not successful.

ReturnStatus

Gets or sets a value indicating the return status of the data validation event.

Site

Gets a reference to the XML Document Object Model (DOM) node where the data validation event is currently being processed.

Source

Gets a reference to the XML Document Object Model (DOM) where the data validation event is occurring.

XDocument

Gets a reference to the XDocument object that is associated with the DataDOMEventObject object during a data validation event.

Methods

ReportError(Object, String, Boolean, String, Int32, String)

Creates an ErrorObject object and adds it to the ErrorsCollection collection.

Applies to