Moves to the element that contains the current attribute node.
[Visual Basic] MustOverride Public Function MoveToElement() As Boolean [C#] public abstract bool MoveToElement(); [C++] public: virtual bool MoveToElement() = 0; [JScript] public abstract function MoveToElement() : Boolean;
true if the attribute is owned by an element; false if the attribute you are positioned on has been removed from the owning element.
Use this method to return to an element after navigating through its attributes.
XmlReader Class | XmlReader Members | System.NewXml Namespace