## XmlAttribute::ReplaceChild method


Sostituisce il nodo figlio specificato con il nuovo nodo figlio specificato.

```cpp
SharedPtr<XmlNode> System::Xml::XmlAttribute::ReplaceChild(SharedPtr<XmlNode> newChild, SharedPtr<XmlNode> oldChild) override
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| newChild | SharedPtr\<XmlNode\> | Il nuovo figlio [XmlNode](../../xmlnode/). |
| oldChild | SharedPtr\<XmlNode\> | Il [XmlNode](../../xmlnode/) da sostituire. |

### ReturnValue

Il [XmlNode](../../xmlnode/) sostituito.

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlNode](../../xmlnode/)
* Class [XmlAttribute](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
