## XPathNavigator::MoveToFirstAttribute method


若在派生类中被重写，则将 [XPathNavigator](../) 移动到当前节点的第一个属性。

```cpp
virtual bool System::Xml::XPath::XPathNavigator::MoveToFirstAttribute()=0
```


### ReturnValue

**true** if the [XPathNavigator](../) is successful moving to the first attribute of the current node; otherwise, **false**. If **false**, the position of the [XPathNavigator](../) is unchanged.

## 另见

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