Düzenle

Aracılığıyla paylaş


Error.Node Property

Definition

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.

Applies to