Freigeben über


OpenXmlElement.AppendChild<T>-Methode

Adds the specified element to the end of the list of child nodes, of this element.

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

Syntax

'Declaration
Public Overridable Function AppendChild(Of T As OpenXmlElement) ( _
    newChild As T _
) As T
'Usage
Dim instance As OpenXmlElement
Dim newChild As T
Dim returnValue As T

returnValue = instance.AppendChild(newChild)
public virtual T AppendChild<T>(
    T newChild
)
where T : OpenXmlElement

Typparameter

  • T

Parameter

  • newChild
    Typ: T
    The OpenXmlElement to append.

Rückgabewert

Typ: T
The OpenXmlElement being appended.

Siehe auch

Referenz

OpenXmlElement Klasse

OpenXmlElement-Member

DocumentFormat.OpenXml-Namespace