 | OpenXmlElementSetAttributes Method |
Sets a number of attributes to the element.
If an attribute is a known attribute, the value of the attribute is set.
If an attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntaxpublic void SetAttributes(
IEnumerable<OpenXmlAttribute> openXmlAttributes
)
Public Sub SetAttributes (
openXmlAttributes As IEnumerable(Of OpenXmlAttribute)
)
public:
void SetAttributes(
IEnumerable<OpenXmlAttribute>^ openXmlAttributes
)
member SetAttributes :
openXmlAttributes : IEnumerable<OpenXmlAttribute> -> unit
Parameters
- openXmlAttributes IEnumerableOpenXmlAttribute
- The attributes to be set on the element.
See Also