OpenXmlElement.HasAttributes property

Office 2013 and later

Gets a boolean value that indicates whether the current element has any attributes.

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

public bool HasAttributes { get; }

Property value

Type: System.Boolean
Returns Boolean.
Show: