Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)
Syntax
'Declaration
ReadOnly Property Node As IXMLDOMNode
Get
'Usage
Dim instance As Error
Dim value As IXMLDOMNode
value = instance.Node
IXMLDOMNode Node { get; }
Property Value
Type: Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMNode
Remarks
Using the Node property, you can access all of the properties and methods that the XML DOM node object provides.
Important
This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
Examples
ErrorObject er = thisXDocument.Errors[0];
IXMLDOMNode myNode = er.Node;
thisXDocument.UI.Alert("this is the error node: " + myNode.text);