Editar

Partilhar via


XmlAttributeCollection.Get(Text, Text, var XmlAttribute) Method

Version: Available or changed with runtime version 1.0.

Gets the specified attribute.

Syntax

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

Parameters

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

LocalName
 Type: Text
The local name of the attribute to retrieve.

NamespaceUri
 Type: Text
The namespace URI 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.

XmlAttributeCollection Data Type
Get Started with AL
Developing Extensions