System.Xml.Xsl.Runtime.RtfTextNavigator.MoveTo C# (CSharp) 메소드

MoveTo() 공개 메소드

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
리턴 bool
        public override bool MoveTo(XPathNavigator other) {
            RtfTextNavigator that = other as RtfTextNavigator;
            if (that != null) {
                this.text = that.text;
                this.baseUri = that.baseUri;
                this.constr = that.constr;
                return true;
            }
            return false;
        }
    }