System.Xml.DocumentXPathNavigator.MoveTo C# (CSharp) Méthode

MoveTo() public méthode

public MoveTo ( XPathNavigator other ) : bool
other System.Xml.XPath.XPathNavigator
Résultat bool
        public override bool MoveTo(XPathNavigator other) {
            DocumentXPathNavigator that = other as DocumentXPathNavigator;
            if (that != null
                && document == that.document) {
                source = that.source;
                attributeIndex = that.attributeIndex;
                namespaceParent = that.namespaceParent;
                return true;
            }
            return false;
        }