OpenXmlElement.GetAttributes Method

Get a copy of all the attributes

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

Syntax

'Declaration
Public Function GetAttributes As IList(Of OpenXmlAttribute)
'Usage
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.

Remarks

The returned list is a copy, non-live.

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace