XmlElement.HasAttributes() Method

Version: Available or changed with runtime version 1.0.

Gets a boolean value indicating whether this element has at least one attribute.

Syntax

Value :=   XmlElement.HasAttributes()

Note

This method can be invoked using property access syntax.

Parameters

XmlElement
 Type: XmlElement
An instance of the XmlElement data type.

Return Value

Value
 Type: Boolean
true if the current node has at least one attribute, otherwise false.

See Also

XmlElement Data Type
Get Started with AL
Developing Extensions