HtmlAgilityPack.HtmlNodeNavigator.MoveToNext C# (CSharp) Method

MoveToNext() public method

Moves to the next sibling of the current node.
public MoveToNext ( ) : bool
return bool
        public override bool MoveToNext()
        {
            if (_currentnode.NextSibling == null)
            {
                InternalTrace(">false");
                return false;
            }
            InternalTrace("_c=" + _currentnode.CloneNode(false).OuterHtml);
            InternalTrace("_n=" + _currentnode.NextSibling.CloneNode(false).OuterHtml);
            _currentnode = _currentnode.NextSibling;
            InternalTrace(">true");
            return true;
        }