System.Xml.DataDocumentXPathNavigator.IsSamePosition C# (CSharp) Méthode

IsSamePosition() public méthode

public IsSamePosition ( XPathNavigator other ) : bool
other System.Xml.XPath.XPathNavigator
Résultat bool
        public override bool IsSamePosition(XPathNavigator other)
        {
            if (other != null)
            {
                DataDocumentXPathNavigator otherDataDocXPathNav = other as DataDocumentXPathNavigator;
                if (otherDataDocXPathNav != null &&
                    _doc == otherDataDocXPathNav.Document && _curNode.IsSamePosition(otherDataDocXPathNav.CurNode))
                {
                    return true;
                }
            }
            return false;
        }