 | 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.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
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