Export (0) Print
Expand All

OpenXmlElement.SetAttributes 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.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public void SetAttributes(
	IEnumerable<OpenXmlAttribute> openXmlAttributes


Type: System.Collections.Generic.IEnumerable<OpenXmlAttribute>

The attributes to be set on the element.

© 2015 Microsoft