## XPathNavigator::ReplaceSelf(SharedPtr\<XmlReader\>) method


Remplace le nœud actuel par le contenu de l'objet [XmlReader](../../../system.xml/xmlreader/) spécifié.

```cpp
virtual void System::Xml::XPath::XPathNavigator::ReplaceSelf(SharedPtr<XmlReader> newNode)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| newNode | SharedPtr\<XmlReader\> | Un objet [XmlReader](../../../system.xml/xmlreader/) positionné sur les données XML du nouveau nœud. |

## Voir aussi

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlReader](../../../system.xml/xmlreader/)
* Class [XPathNavigator](../)
* Namespace [System::Xml::XPath](../../)
* Library [Aspose.Font for C++](../../../)
## XPathNavigator::ReplaceSelf(SharedPtr\<XPathNavigator\>) method


Remplace le nœud actuel par le contenu de l'objet [XPathNavigator](../) spécifié.

```cpp
virtual void System::Xml::XPath::XPathNavigator::ReplaceSelf(SharedPtr<XPathNavigator> newNode)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| newNode | SharedPtr\<XPathNavigator\> | Un objet [XPathNavigator](../) positionné sur le nouveau nœud. |

## Voir aussi

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XPathNavigator](../)
* Class [XPathNavigator](../)
* Namespace [System::Xml::XPath](../../)
* Library [Aspose.Font for C++](../../../)
## XPathNavigator::ReplaceSelf(String) method


Remplace le nœud actuel par le contenu de la chaîne spécifiée.

```cpp
virtual void System::Xml::XPath::XPathNavigator::ReplaceSelf(String newNode)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| newNode | String | La chaîne de données XML pour le nouveau nœud. |

## Voir aussi

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