XmlElement.SetAttribute(String, String) Method

Version: Available or changed with runtime version 1.0.

Sets the value of the specified attribute or create it if is not part of the element's attribute collection.

Syntax

 XmlElement.SetAttribute(Name: String, Value: String)

Parameters

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

Name
 Type: String
The fully qualified name of the attribute to set.

Value
 Type: String
The value to set for the attribute.

See Also

XmlElement Data Type
Getting Started with AL
Developing Extensions