 | OpenXmlCompositeElementRemoveChildT Method |
Removes the specified child element.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
Syntaxpublic override T RemoveChild<T>(
T child
)
where T : OpenXmlElement
Public Overrides Function RemoveChild(Of T As OpenXmlElement) (
child As T
) As T
public:
generic<typename T>
where T : OpenXmlElement
virtual T RemoveChild(
T child
) override
abstract RemoveChild :
child : 'T -> 'T when 'T : OpenXmlElement
override RemoveChild :
child : 'T -> 'T when 'T : OpenXmlElementParameters
- child T
- The element to remove. Must be a child of this element.
Type Parameters
- T
Return Value
TThe element that was removed.
RemarksReturns null if child is null.
See Also