Site property
Collapse the table of content
Expand the table of content

FormError.Site property

Office 2013 and later

Gets an XPathNavigator that is positioned at the node of a form's underlying XML document that is associated with a FormError object.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

public abstract XPathNavigator Site { get; }

Property value

Type: System.Xml.XPath.XPathNavigator
An XPathNavigator positioned at the node associated with the FormError object.

Using the Site property, you can access all of the properties and methods that the XPathNavigator class provides to work with the underlying XML document of the form.

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.

This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.

© 2016 Microsoft