Error.Node Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the XML Document Object Model (DOM) node of a form's underlying XML document that is associated with an ErrorObject object.
public:
property Microsoft::Office::Interop::InfoPath::Xml::IXMLDOMNode ^ Node { Microsoft::Office::Interop::InfoPath::Xml::IXMLDOMNode ^ get(); };
public Microsoft.Office.Interop.InfoPath.Xml.IXMLDOMNode Node { get; }
member this.Node : Microsoft.Office.Interop.InfoPath.Xml.IXMLDOMNode
Public ReadOnly Property Node As IXMLDOMNode
Property Value
Examples
ErrorObject er = thisXDocument.Errors[0];
IXMLDOMNode myNode = er.<span class="label">Node</span>;
thisXDocument.UI.Alert("this is the error node: " + myNode.text);
Remarks
Using the Node property, you can access all of the properties and methods that the XML DOM node object provides.