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

Définition

Définit un certain nombre d’attributs à 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, l’attribut « openxmlAttribute » est ajouté à la liste des 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 à