## Node.ReplaceChild method

Replaces the child node old child with new child in the list of children, and returns the old child node.

```csharp
public Node ReplaceChild(Node node, Node child)
```

| Parameter | Type | Description |
| --- | --- | --- |
| node | Node | The new node. |
| child | Node | The old child. |

### See Also

* class [Node](../../node)
* namespace [Aspose.Finance.Xbrl.Dom](../../node)
* assembly [Aspose.Finance](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Finance.dll -->
