OpenXmlElement.GetAttributes Method

Definition

Gets a list that contains a copy of all the attributes.

public System.Collections.Generic.IList<DocumentFormat.OpenXml.OpenXmlAttribute> GetAttributes ();
member this.GetAttributes : unit -> System.Collections.Generic.IList<DocumentFormat.OpenXml.OpenXmlAttribute>
Public Function GetAttributes () As IList(Of OpenXmlAttribute)

Returns

A list of attributes. Return an empty list if there are no attributes.

Remarks

The returned list is a non-live copy.

Applies to