Freigeben über


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

Definition

Fügt das angegebene Element unmittelbar nach dem angegebenen Verweiselement ein.

public virtual T InsertAfter<T> (T newChild, DocumentFormat.OpenXml.OpenXmlElement refChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
public virtual T InsertAfter<T> (T? newChild, DocumentFormat.OpenXml.OpenXmlElement? referenceChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
public virtual T? InsertAfter<T> (T? newChild, DocumentFormat.OpenXml.OpenXmlElement? referenceChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
abstract member InsertAfter : 'T * DocumentFormat.OpenXml.OpenXmlElement -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
override this.InsertAfter : 'T * DocumentFormat.OpenXml.OpenXmlElement -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
abstract member InsertAfter : 'T * DocumentFormat.OpenXml.OpenXmlElement -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
override this.InsertAfter : 'T * DocumentFormat.OpenXml.OpenXmlElement -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Overridable Function InsertAfter(Of T As OpenXmlElement) (newChild As T, refChild As OpenXmlElement) As T
Public Overridable Function InsertAfter(Of T As OpenXmlElement) (newChild As T, referenceChild As OpenXmlElement) As T

Typparameter

T

Parameter

newChild
T

Das OpenXmlElement einzufügende Element.

refChildreferenceChild
OpenXmlElement

Gibt zurück

T

Das OpenXmlElement element, das eingefügt wurde.

Gilt für: