OpenXmlElement.SetAttributes Method

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
)

Parameters

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace