Partager via


OpenXmlElement.SetAttributes(IEnumerable<OpenXmlAttribute>) Méthode

Définition

Définit un certain nombre d’attributs pour l’élément. Si un attribut est un attribut connu, la valeur de l’attribut est définie. Si un attribut est un attribut étendu, « openxmlAttribute » est ajouté à la liste d’attributs étendus.

public void SetAttributes(System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlAttribute> openXmlAttributes);
member this.SetAttributes : seq<DocumentFormat.OpenXml.OpenXmlAttribute> -> unit
Public Sub SetAttributes (openXmlAttributes As IEnumerable(Of OpenXmlAttribute))

Paramètres

openXmlAttributes
IEnumerable<OpenXmlAttribute>

Attributs à définir sur l’élément .

S’applique à