Export (0) Print
Expand All

XPathNavigator.IsSamePosition Method

When overridden in a derived class, determines whether the current XPathNavigator is at the same position as the specified XPathNavigator.

Namespace: System.Xml.XPath
Assembly: System.Xml (in system.xml.dll)

public abstract bool IsSamePosition (
	XPathNavigator other
)
public abstract boolean IsSamePosition (
	XPathNavigator other
)
public abstract function IsSamePosition (
	other : XPathNavigator
) : boolean
Not applicable.

Parameters

other

The XPathNavigator to compare to this XPathNavigator.

Return Value

Returns true 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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft