OpenXmlElement.SetAttributes-Methode
Set a bunch of attributes to the element. If a attribute is a known attribute, the value of the attribute is set. If a attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Sub SetAttributes ( _
openXmlAttributes As IEnumerable(Of OpenXmlAttribute) _
)
'Usage
Dim instance As OpenXmlElement
Dim openXmlAttributes As IEnumerable(Of OpenXmlAttribute)
instance.SetAttributes(openXmlAttributes)
public void SetAttributes(
IEnumerable<OpenXmlAttribute> openXmlAttributes
)
Parameter
- openXmlAttributes
Typ: System.Collections.Generic.IEnumerable<OpenXmlAttribute>
The attributes to be set on the element.