Moves to the element that contains the current attribute node.
[Visual Basic] Overrides Public Function MoveToElement() As Boolean [C#] public override bool MoveToElement(); [C++] public: override bool MoveToElement(); [JScript] public override 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.
Exception Type | Condition |
---|---|
InvalidOperationException | The reader is not positioned on an attribute node. |
Use this method to return to an element after navigating through its attributes.
DocumentNavigator Class | DocumentNavigator Members | System.NewXml Namespace