Export (0) Print
Expand All

OpenXmlElement.AppendChild<T> method

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

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public virtual T AppendChild<T>(
	T newChild
)
where T : OpenXmlElement

Type parameters

T

Parameters

newChild
Type: T

The OpenXmlElement to append.

Return value

Type: T
The OpenXmlElement element that was appended.

Community Additions

Show:
© 2014 Microsoft