System.Xml.XPath.XPathNavigatorReader.MoveToElement C# (CSharp) Метод

MoveToElement() публичный Метод

public MoveToElement ( ) : bool
Результат bool
        public override bool MoveToElement() {
            switch (this.state) {
                case State.Attribute:
                case State.AttrVal:
                    if (!nav.MoveToParent())
                        return false;
                    this.depth--;
                    if (this.state == State.AttrVal)
                        this.depth--;
                    this.state = State.Content;
                    this.nodeType = XmlNodeType.Element;
                    return true;
                case State.InReadBinary:
                    state = savedState;
                    if (!MoveToElement()) {
                        state = State.InReadBinary;
                        return false;
                    }
                    readBinaryHelper.Finish();
                    break;
            }
            return false;
        }