## XPathNavigator::MoveToFirstNamespace() method


Flyttar [XPathNavigator](../) till den första namnrymdsnoden för den aktuella noden.

```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.

## Se även

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


När den åsidosätts i en avledd klass, flyttar den [XPathNavigator](../) till den första namnrymdsnoden som matchar den angivna [XPathNamespaceScope](../../xpathnamespacescope/).

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| namespaceScope | XPathNamespaceScope | Ett [XPathNamespaceScope](../../xpathnamespacescope/) värde som beskriver namnrymdsomfånget. |

### ReturnValue

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

## Se även

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