Share via


OpenXmlElement.RemoveAllChildren<T> Method

Remove all the child elements which type is T.

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

Syntax

'Declaration
Public Sub RemoveAllChildren(Of T As OpenXmlElement)
'Usage
Dim instance As OpenXmlElement

instance.RemoveAllChildren()
public void RemoveAllChildren<T>()
where T : OpenXmlElement

Type Parameters

  • T

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

RemoveAllChildren Overload

DocumentFormat.OpenXml Namespace