OpenXmlElement.PrependChild<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 at the beginning of the current element's list of child elements.
public virtual T PrependChild<T> (T newChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
public virtual T PrependChild<T> (T? newChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
public virtual T? PrependChild<T> (T? newChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
abstract member PrependChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
override this.PrependChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Overridable Function PrependChild(Of T As OpenXmlElement) (newChild As T) As T
Type Parameters
- T
Parameters
- newChild
- T
The OpenXmlElement element to add.
Returns
T
The OpenXmlElement element that was added.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin