OpenXmlCompositeElement.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 nodes.
public override T PrependChild<T> (T newChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
public override T? PrependChild<T> (T? newChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
override this.PrependChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Overrides 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 that was added.
Remarks
Returns null
if newChild
equals null
.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla