SetAttributeAsUint

This method sets the value of an attribute. The value has the data type Unsigned Integer.
Syntax
METHOD SetAttributeAsUint : SXmlAttribute
VAR_INPUT
a : SXmlAttribute;
value : UDINT;
END_VAR
Return value
Name | Type |
---|---|
SetAttributeAsUint | SXmlAttribute |
Inputs
Name | Type |
---|---|
a | SXmlAttribute |
value | UDINT |
Sample call:
xmlAttr := fbXml.SetAttributeAsUint(xmlExistingAttr, 42);