OpenXmlCompositeElement.AppendChild<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.
Appends the specified element to the end of the current element's list of child nodes.
public override T AppendChild<T> (T newChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
public override T? AppendChild<T> (T? newChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
override this.AppendChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Overrides Function AppendChild(Of T As OpenXmlElement) (newChild As T) As T
Type Parameters
- T
Parameters
- newChild
- T
The OpenXmlElement element to append.
Returns
T
The OpenXmlElement element that was appended.
Remarks
Returns null if newChild
equals null
.
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