2022.2

Table Of Contents
erties. The Fields collection however has additional methods to support multiple entries with the same
name, which is forbidden with attributes.
Caution: Attributes are intended for system-defined data. Please restrict user-defined data to
Fields, and do not modify the Attributes.
Properties
Name Type Description
Count Integer Returns the number of elements in the collection.
Methods
Name Return type Description
"Add(const String Name, const String Value)" on the next page Adds a new element to the collection or overwrites its value.
Clear() Clears all elements from the collection.
"CountByName(const String Name)" on page187 Integer Returns the number of elements with the specified name.
"Delete(Integer Index)" on page188 Deletes the element at the specified index.
"Item(Integer Index)" on page188 String Returns the value of the element stored at the specified index.
"ItemByName(const String Name)" on page188 String Returns the value of the element of the specified name.
"Name(Integer Index)" on page189 String Returns the name of the element stored at the specified index.
Fields
A Field is a read-write, user-defined element: a name/value pair, where the name is case-insensitive.
It holds custom information about a certain "Node" on page172 in the Metadata structure. Fields are
repetitive (i.e. the same field may appear multiple times) and persist through Metadata recreation.
Fields are stored in a collection container object, just like "Attributes" on the previous page. As is the
case with the different types of Nodes, both collections share a number of methods and properties. The
Fields collection however has additional methods to support multiple entries with the same name,
which is forbidden with attributes.
Properties
Name Type Description
Count Integer Returns the number of elements in the collection.
Page 185