## XPathNavigator::MoveToAttribute method


Memindahkan [XPathNavigator](../) ke atribut dengan nama lokal dan URI namespace yang cocok.

```cpp
virtual bool System::Xml::XPath::XPathNavigator::MoveToAttribute(String localName, String namespaceURI)
```


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| localName | String | Nama lokal atribut. |
| namespaceURI | String | URI namespace dari atribut; **nullptr** untuk namespace kosong. |

### ReturnValue

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

## Lihat Juga

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