OpenXmlElement.RemoveAllChildren<T> Method
Remove all the child elements which type is T.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
Public Sub RemoveAllChildren(Of T As OpenXmlElement)
'使用
Dim instance As OpenXmlElement
instance.RemoveAllChildren()
public void RemoveAllChildren<T>()
where T : OpenXmlElement
Type Parameters
- T