Proprietà Error.Node
Ottiene il nodo DOM (Document Object Model) XML del documento XML sottostante di un modulo associato a un oggetto ErrorObject.
Questa proprietà non è compatibile con CLS.
Spazio dei nomi: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in microsoft.office.interop.infopath.semitrust.dll)
Sintassi
<DispIdAttribute(1)> _
ReadOnly Property Node As IXMLDOMNode
Dim instance As Error
Dim value As IXMLDOMNode
value = instance.Node
[DispIdAttribute(1)]
IXMLDOMNode Node { get; }
Osservazioni
La proprietà Node consente di accedere a tutti i metodi e a tutte le proprietà dell'oggetto nodo DOM XML.
![]() |
---|
Possono accedere a questo membro solo moduli eseguiti nello stesso dominio del modulo aperto oppure moduli a cui sono state concesse autorizzazioni tra domini. |
Esempio
ErrorObject er = thisXDocument.Errors[0];
IXMLDOMNode myNode = er.Node;
thisXDocument.UI.Alert("this is the error node: " + myNode.text);
Vedere anche
Riferimenti
Interfaccia Error
Membri Error
Spazio dei nomi Microsoft.Office.Interop.InfoPath.SemiTrust