 | OpenXmlElementPrependChildT Method |
Inserts the specified element at the beginning of the current element's list of child elements.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
Syntaxpublic virtual T PrependChild<T>(
T newChild
)
where T : OpenXmlElement
Public Overridable Function PrependChild(Of T As OpenXmlElement) (
newChild As T
) As T
public:
generic<typename T>
where T : OpenXmlElement
virtual T PrependChild(
T newChild
)
abstract PrependChild :
newChild : 'T -> 'T when 'T : OpenXmlElement
override PrependChild :
newChild : 'T -> 'T when 'T : OpenXmlElementParameters
- newChild T
- The OpenXmlElement element to add.
Type Parameters
- T
Return Value
TThe OpenXmlElement element that was added.
See Also