OpenXmlElement.GetAttributes Method

Get a copy of all the attributes

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


Public Function GetAttributes As IList(Of OpenXmlAttribute)
Dim instance As OpenXmlElement
Dim returnValue As IList(Of OpenXmlAttribute)

returnValue = instance.GetAttributes()
public IList<OpenXmlAttribute> GetAttributes()

Return Value

Type: System.Collections.Generic.IList<OpenXmlAttribute>
A copy of the attributes list. Return empty list if there is no attributes.


The returned list is a copy, non-live.

See Also


OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace