OpenXmlCompositeElement.InsertAfter<T>-Methode (T, OpenXmlElement)

Inserts the specified element immediately after the specified reference element.

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

Syntax

'Declaration
Public Overrides Function InsertAfter(Of T As OpenXmlElement) ( _
    newChild As T, _
    refChild As OpenXmlElement _
) As T
'Usage
Dim instance As OpenXmlCompositeElement
Dim newChild As T
Dim refChild As OpenXmlElement
Dim returnValue As T

returnValue = instance.InsertAfter(newChild, _
    refChild)
public override T InsertAfter<T>(
    T newChild,
    OpenXmlElement refChild
)
where T : OpenXmlElement

Typparameter

  • T

Parameter

  • newChild
    Typ: T
    The OpenXmlElement to insert.

Rückgabewert

Typ: T
The OpenXmlElement being inserted.

Hinweise

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

Siehe auch

Referenz

OpenXmlCompositeElement Klasse

OpenXmlCompositeElement-Member

InsertAfter Überladung

DocumentFormat.OpenXml-Namespace