OpenXmlLeafElement.RemoveAllChildren method

Office 2013 and later

Removes all child elements of the current element.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public override void RemoveAllChildren()
Show: