OpenXmlCompositeElement.RemoveChild<T>(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the specified child element.
public override T RemoveChild<T> (T oldChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
override this.RemoveChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Overrides Function RemoveChild(Of T As OpenXmlElement) (oldChild As T) As T
Type Parameters
- T
Parameters
- oldChild
- T
The element being removed.
Returns
- T
The element that was removed.
Remarks
No change if the (newChild == null). Just return null.