System.Xml.DocumentXPathNavigator.IsSamePosition C# (CSharp) 메소드

IsSamePosition() 공개 메소드

public IsSamePosition ( XPathNavigator other ) : bool
other System.Xml.XPath.XPathNavigator
리턴 bool
        public override bool IsSamePosition(XPathNavigator other) {
            DocumentXPathNavigator that = other as DocumentXPathNavigator;
            if (that != null) {
                this.CalibrateText();
                that.CalibrateText();

                return this.source == that.source
                       && this.namespaceParent == that.namespaceParent;
            }
            return false;
        }