Click or drag to resize

OpenXmlCompositeElementRemoveChildT Method

Removes the specified child element.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
Syntax
public override T RemoveChild<T>(
	T child
)
where T : OpenXmlElement

Parameters

child  T
The element to remove. Must be a child of this element.

Type Parameters

T

Return Value

T
The element that was removed.
Remarks
Returns null if child is null.
See Also