OpenXmlElement.RemoveChild(T) OpenXmlElement.RemoveChild(T) OpenXmlElement.RemoveChild(T) Method

Definition

Removes the specified child element from the current element's list of child elements.

public virtual T RemoveChild<T> (T oldChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
abstract member RemoveChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
override this.RemoveChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Overridable Function RemoveChild(Of T As OpenXmlElement) (oldChild As T) As T

Type Parameters

T

Parameters

oldChild
T T T

The element being removed.

Returns

T T T

The element that was removed.

Applies to