OpenXmlElement.InsertAfterSelf<T>(T) 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 current element.
public T InsertAfterSelf<T> (T newElement) where T : DocumentFormat.OpenXml.OpenXmlElement;
member this.InsertAfterSelf : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Function InsertAfterSelf(Of T As OpenXmlElement) (newElement As T) As T
Type Parameters
- T
Parameters
- newElement
- T
The new element to insert.
Returns
T
The inserted element.
Exceptions
Thrown when the newElement
parameter is a null reference.
Thrown when the parent is a null reference.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for