Share via


XmlFormHostItem.CreateNavigator method

This member is a wrapper for the CreateNavigator method of the DataSource class, which provides access to an XPathNavigator object for accessing and manipulating a form's underlying XML document (main data source).

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

Syntax

'Declaration
Public Overridable Function CreateNavigator As XPathNavigator
'Usage
Dim instance As XmlFormHostItem
Dim returnValue As XPathNavigator

returnValue = instance.CreateNavigator()
public virtual XPathNavigator CreateNavigator()

Return value

Type: System.Xml.XPath.XPathNavigator
Returns XPathNavigator.

See also

Reference

XmlFormHostItem class

XmlFormHostItem members

Microsoft.Office.InfoPath namespace