Release Summary : 2. Changes to Existing Features : AttributeObject Class Gets New Attribute and Methods
 
Share this page                  
AttributeObject Class Gets New Attribute and Methods
The AttributeObject class holds the information needed to define a user class attribute. It gains the following new attribute:
TaggedValue
Data Type: array of TaggedValue
4GL Access: R
Defines an array of tagged values
The following methods are new:
FetchTaggedValue
Returns the TaggedValue associated with the supplied tag name or row number in the TaggedValues array of the attribute
FindTag
Returns the index of the specified tag in the TaggedValues array of this attribute
GetTaggedValues
Returns an array of all the TaggedValues that either have this tag or whose tags begin with the tag plus a delimiter
GetTagText
Returns a string containing the text of the tagged value associated with the supplied tag name or row number in the TaggedValues array of the attribute
GetTagValue
Returns a StringObject containing the text value associated with this index or tag name in the TaggedValues array of this attribute
RemoveTaggedValue
Removes a tagged value identified by its index or tag name from the AttributeObject's TaggedValues array
SetTaggedValue
Adds a TaggedValue to the AttributeObject’s TaggedValues if the tag is not already present, or amends the TaggedValue if it is present
For more information, see the Language Reference Guide.