When overridden in a derived class, determines whether the current System.Xml.XPath.XPathNavigator is at the same position as the specified System.Xml.XPath.XPathNavigator.
- other
- The System.Xml.XPath.XPathNavigator to compare to this System.Xml.XPath.XPathNavigator.
true if the two System.Xml.XPath.XPathNavigator objects have the same position; otherwise, false.
The XPathNavigator.IsSamePosition(XPathNavigator) method assumes that the System.Xml.XPath.XPathNavigator specified shares the same implementation and is points at the same document instance as the current System.Xml.XPath.XPathNavigator.
This method always returns false under the following conditions:
The System.Xml.XPath.XPathNavigator specified shares the same implementation but points at a different document instance than the current System.Xml.XPath.XPathNavigator.
The System.Xml.XPath.XPathNavigator has a different implementation than the current System.Xml.XPath.XPathNavigator.