It is a pure object-oriented language. One of its key features is its relative simplicity compared to other languages. It is easy to read and write.
ReplaceChild<T>(OpenXmlElement, T)
The function replaces one of the current element’s child elements with another OpenXmlElement element.
public override T ReplaceChild<T> (DocumentFormat.OpenXml.OpenXmlElement newChild, T oldChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
newChild OpenXmlElement
- The new OpenXmlElement to be added to the child list.
oldChild T
- The OpenXmlElement being changed in the list.