System.Xml.Tests.SimpleWrapperNavigator.MoveTo C# (CSharp) Method

MoveTo() public method

public MoveTo ( XPathNavigator other ) : bool
other System.Xml.XPath.XPathNavigator
return bool
        public override bool MoveTo(XPathNavigator other)
        {
            SimpleWrapperNavigator nav = other as SimpleWrapperNavigator;
            if (nav != null)
            {
                return _innerNavigator.MoveTo(nav._innerNavigator);
            }
            return false;
        }