OpenXmlCompositeElement.AppendChild(T) OpenXmlCompositeElement.AppendChild(T) OpenXmlCompositeElement.AppendChild(T) Method

Definition

Appends the specified element to the end of the current element's list of child nodes.

public override T AppendChild<T> (T newChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
override this.AppendChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Overrides Function AppendChild(Of T As OpenXmlElement) (newChild As T) As T

Type Parameters

T

Parameters

newChild
T T T

The OpenXmlElement to append.

Returns

T T T

The OpenXmlElement element that was appended.

Remarks

No change if the (newChild == null). Just return null.

Applies to