HtmlAgilityPack.HtmlNodeNavigator.MoveToParent C# (CSharp) Method

MoveToParent() public method

Moves to the parent of the current node.
public MoveToParent ( ) : bool
return bool
        public override bool MoveToParent()
        {
            if (_currentnode.ParentNode == null)
            {
                InternalTrace(">false");
                return false;
            }
            _currentnode = _currentnode.ParentNode;
            InternalTrace(">true");
            return true;
        }