## XPathNavigator::MoveToNamespace method


Déplace le [XPathNavigator](../) vers le nœud d'espace de noms avec le préfixe d'espace de noms spécifié.

```cpp
virtual bool System::Xml::XPath::XPathNavigator::MoveToNamespace(String name)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| name | String | Le préfixe d'espace de noms du nœud d'espace de noms. |

### ReturnValue

**true** if the [XPathNavigator](../) is successful moving to the specified namespace; **false** if a matching namespace node was not found, or if the [XPathNavigator](../) is not positioned on an element node. If **false**, the position of the [XPathNavigator](../) is unchanged.

## Voir aussi

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