System.Xml.Xsl.Runtime.RtfTreeNavigator.MoveTo C# (CSharp) Method

MoveTo() public method

Position this navigator to the same position as the "other" navigator. If the "other" navigator is not of the same type as this navigator, then return false.
public MoveTo ( XPathNavigator other ) : bool
other System.Xml.XPath.XPathNavigator
return bool
        public override bool MoveTo(XPathNavigator other) {
            RtfTreeNavigator that = other as RtfTreeNavigator;
            if (that != null) {
                this.events = that.events;
                this.constr = that.constr;
                this.nameTable = that.nameTable;
                return true;
            }
            return false;
        }
    }