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


Sostituisce il nodo corrente con il contenuto dell'oggetto [XmlReader](../../../system.xml/xmlreader/) specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| newNode | SharedPtr\<XmlReader\> | Un oggetto [XmlReader](../../../system.xml/xmlreader/) posizionato sui dati XML per il nuovo nodo. |

## Vedi anche

* 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


Sostituisce il nodo corrente con il contenuto dell'oggetto [XPathNavigator](../) specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| newNode | SharedPtr\<XPathNavigator\> | Un oggetto [XPathNavigator](../) posizionato sul nuovo nodo. |

## Vedi anche

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


Sostituisce il nodo corrente con il contenuto della stringa specificata.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| newNode | Stringa | La stringa di dati XML per il nuovo nodo. |

## Vedi anche

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