## XmlReader::MoveToElement method


在派生类中重写时，移动到包含当前属性节点的元素。

```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).

## 另见

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