## XPathNavigator::MoveToFirstNamespace() method


現在のノードの最初の名前空間ノードに [XPathNavigator](../) を移動します。

```cpp
bool System::Xml::XPath::XPathNavigator::MoveToFirstNamespace()
```


### ReturnValue

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

## 参照

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


派生クラスでオーバーライドされた場合、指定された [XPathNamespaceScope](../../xpathnamespacescope/) に一致する最初の名前空間ノードに [XPathNavigator](../) を移動します。

```cpp
virtual bool System::Xml::XPath::XPathNavigator::MoveToFirstNamespace(XPathNamespaceScope namespaceScope)=0
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| namespaceScope | XPathNamespaceScope | 名前空間スコープを記述する [XPathNamespaceScope](../../xpathnamespacescope/) 値。 |

### ReturnValue

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

## 参照

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