XmlAttributeCollection.Get(Text, var XmlAttribute) Method

Version: Available or changed with runtime version 1.0.

Gets the specified attribute.

Syntax

[Ok := ]  XmlAttributeCollection.Get(Name: Text, var Result: XmlAttribute)

Parameters

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

Name
 Type: Text
The qualified name 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
Get Started with AL
Developing Extensions