XmlAttributeCollection.Get(Integer, var XmlAttribute) Method

Version: Available or changed with runtime version 1.0.

Gets the specified attribute.

Syntax

[Ok := ]  XmlAttributeCollection.Get(Index: Integer, var Result: XmlAttribute)

Parameters

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

Index
 Type: Integer
The index of the attribute to retrieve.

Result
 Type: XmlAttribute
Variable containing the requested XmlAttribute if the operation is successful.

Return Value

[Optional] Ok
 Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

See Also

XmlAttributeCollection Data Type
Getting Started with AL
Developing Extensions