Поделиться через


OpenXmlElement.InsertAfter<T>(T, OpenXmlElement) Метод

Определение

Вставляет указанный элемент сразу после указанного ссылочного элемента.

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

Параметры типа

T

Параметры

newChild
T

Вставляемый OpenXmlElement элемент.

refChildreferenceChild
OpenXmlElement

Возвращаемое значение

T

Вставленный OpenXmlElement элемент.

Применяется к