Export (0) Print
Expand All

OpenXmlElement.RemoveChild<T> method

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

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

public virtual T RemoveChild<T>(
	T oldChild
)
where T : OpenXmlElement

Type parameters

T

Parameters

oldChild
Type: T

The element being removed.

Return value

Type: T
The element that was removed.
Show:
© 2015 Microsoft