## XmlNodeReader::MoveToElement method


Moves to the element that contains the current attribute node.

```cpp
bool System::Xml::XmlNodeReader::MoveToElement() override
```


### 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 [XmlNodeReader](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
