Error.Node Property
Gets the XML Document Object Model (DOM) node of a form's underlying XML document that is associated with an ErrorObject object.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)
Syntax
'Declaration
'Usage
Remarks
Using the Node property, you can access all of the properties and methods that the XML DOM node object provides.
Example
ErrorObject er = thisXDocument.Errors[0];
IXMLDOMNode myNode = er.Node;
thisXDocument.UI.Alert("this is the error node: " + myNode.text);
See Also
Reference
Error Interface
Error Members
Microsoft.Office.Interop.InfoPath Namespace