Compartir a través de


OpenXmlElement.InsertAfter<T>(T, OpenXmlElement) Método

Definición

Inserta el elemento especificado inmediatamente después del elemento de referencia especificado.

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

Parámetros de tipo

T

Parámetros

newChild
T

Elemento OpenXmlElement que se va a insertar.

refChildreferenceChild
OpenXmlElement

Devoluciones

T

Elemento OpenXmlElement que se insertó.

Se aplica a