XPathNavigator::IsSamePosition Method (XPathNavigator^)
.NET Framework (current version)
When overridden in a derived class, determines whether the current XPathNavigator is at the same position as the specified XPathNavigator.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- other
-
Type:
System.Xml.XPath::XPathNavigator^
The XPathNavigator to compare to this XPathNavigator.
Return Value
Type: System::Booleantrue if the two XPathNavigator objects have the same position; otherwise, false.
The IsSamePosition method assumes that the XPathNavigator specified shares the same implementation and is points at the same document instance as the current XPathNavigator.
This method always returns false under the following conditions:
The XPathNavigator specified shares the same implementation but points at a different document instance than the current XPathNavigator.
The XPathNavigator has a different implementation than the current XPathNavigator.
.NET Framework
Available since 1.1
Silverlight
Available since 4.0
Available since 1.1
Silverlight
Available since 4.0
Show: