OpenXmlElement.AppendChild<T>(T) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ajoute l’élément spécifié à la fin de la liste des nœuds enfants de l’élément actuel.
public virtual T AppendChild<T> (T newChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
public virtual T AppendChild<T> (T? newChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
public virtual T? AppendChild<T> (T? newChild) where T : DocumentFormat.OpenXml.OpenXmlElement;
abstract member AppendChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
override this.AppendChild : 'T -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Overridable Function AppendChild(Of T As OpenXmlElement) (newChild As T) As T
Paramètres de type
- T
Paramètres
- newChild
- T
Élément OpenXmlElement à ajouter.
Retours
T
Élément OpenXmlElement qui a été ajouté.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour