Returns the System.Xml.XmlNode for the current position.
The XmlNode for the current position.
The following C# code uses GetNode to access a node the System.Xml.XPath.XPathNavigator is currently positioned on.
Example
XmlDocument doc = new XmlDocument(); doc.Load("books.xml"); XPathNavigator nav = doc.CreateNavigator(); XmlNode node = ((IHasXmlNode)nav).GetNode(); Console.WriteLine(node.LocalName); //You can edit the returned XmlNode.