Mono Class Library: System.Xml.XPath.XPathDocument Overview | Members

System.Xml.XPath.XPathDocument.CreateNavigator Method

Creates an instance of the stem.Xml.XPath.XPathNavigator supported by this class.

public XPathNavigator CreateNavigator ()

Returns

The stem.Xml.XPath.XPathNavigator instance created by this class.

Remarks

This class returns a faster and read-only XPathNavigator implementation. The returned XPathNavigator always point to XPath Root node, the document itself (see XPathNodeType.Root).

Technically, the XPathNavigator implementation is designed to represent the document as indexed node tree structure.

Requirements

Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0