OpenXmlCompositeElement.InsertAfter<T>(T, OpenXmlElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts the specified element immediately after the specified reference element.
public override T InsertAfter<T> (T newChild, DocumentFormat.OpenXml.OpenXmlElement refChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
override this.InsertAfter : 'T * DocumentFormat.OpenXml.OpenXmlElement -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Overrides Function InsertAfter(Of T As OpenXmlElement) (newChild As T, refChild As OpenXmlElement) As T
Type Parameters
- T
Parameters
- newChild
- T
The OpenXmlElement to insert.
- refChild
- OpenXmlElement
The OpenXmlElement that is the reference node. The newChild is placed after the refChild.
Returns
T
The OpenXmlElement element that was inserted.
Remarks
No change if the (newChild == null). Just return null.
Applies to
Feedback
Submit and view feedback for