## XmlValidatingReader::MoveToElement method


移动到包含当前属性节点的元素。

```cpp
bool System::Xml::XmlValidatingReader::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).

## 另见

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