Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes specified child element.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Overrides Function RemoveChild(Of T As OpenXmlElement) ( _
oldChild As T _
) As T
'Usage
Dim instance As OpenXmlCompositeElement
Dim oldChild As T
Dim returnValue As T
returnValue = instance.RemoveChild(oldChild)
public override 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 removed.
Remarks
No change if the (newChild == null). Just return null.