2020.2

Table Of Contents
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 page212 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 page228. 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.
Methods
Name Return
type
Description
"Add(const String Name, const
String Value)" on the facing
page
Adds a new element to the collection or
overwrites its value.
"Add2(const String Name,
const String Value, TAddFlags
Flags, Integer Index
(optional))" on page232
Adds a new element with a customizable
behavior if the name already exists.
Note that the TAddFlags type is not defined in
an Active Script environment, such as the Run
Script task. See the detailed reference for the
numerical values to use.
Clear() Deletes all the elements of the collection.
"CountByName(const String
Name)" on page233
Integer Returns the number of elements with the
specified name.
Page 230