## XmlReader::MoveToElement method


When overridden in a derived class, moves to the element that contains the current attribute node.

```cpp
virtual bool System::Xml::XmlReader::MoveToElement()=0
```


### ReturnValue

**true** if the reader is positioned on an attribute (the reader moves to the element that owns the attribute); **false** if the reader is not positioned on an attribute (the position of the reader does not change).

## See Also

* Class [XmlReader](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
