## XPathNavigator::MoveToId method


Ketika dioverride dalam kelas turunan, memindahkan ke node yang memiliki atribut tipe **ID** dengan nilai yang cocok dengan [String](../../../system/string/) yang ditentukan.

```cpp
virtual bool System::Xml::XPath::XPathNavigator::MoveToId(String id)=0
```


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| id | String | Sebuah [String](../../../system/string/) yang mewakili nilai **ID** dari node yang ingin Anda pindahkan. |

### ReturnValue

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

## Lihat Juga

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