OpenXmlElement.RemoveChild<T> Method

Removes specified child element.

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


Public Overridable Function RemoveChild(Of T As OpenXmlElement) ( _
    oldChild As T _
) As T
Dim instance As OpenXmlElement
Dim oldChild As T
Dim returnValue As T

returnValue = instance.RemoveChild(oldChild)
public virtual T RemoveChild<T>(
    T oldChild
where T : OpenXmlElement

Type Parameters

  • T


  • oldChild
    Type: T
    The element being removed.

Return Value

Type: T
The element removed.

See Also


OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace