次の方法で共有


FormError.Site Property

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)

Syntax

'Declaration
Public MustOverride ReadOnly Property Site As XPathNavigator
    Get
'Usage
Dim instance As FormError
Dim value As XPathNavigator

value = instance.Site
public abstract XPathNavigator Site { get; }

Property Value

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

Remarks

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.

See Also

Reference

FormError Class

FormError Members

Microsoft.Office.InfoPath Namespace