Release Summary : 2. Changes to Existing Features : MethodObject Class Gets New Attribute and Method
 
Share this page                  
MethodObject Class Gets New Attribute and Method
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: RW
Defines the tagged values for this method
The following methods are new:
FetchTaggedValue
Returns the TaggedValue associated with the first occurrence of this tag name or row number in the TaggedValues array of this method or any same-named methods in its superclasses
FindTag
Returns the index of the first occurrence of the specified tag in the TaggedValues array of this method or any same-named methods in its superclasses
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 TaggedValue associated with the first occurrence of the supplied tag name or row number in the TaggedValues array of this method
GetTagValue
Returns a StringObject containing the text value associated with the first occurrence of this tag name or row number in the TaggedValues array of this method
RemoveTaggedValue
Removes a tagged value identified by its index or tag name from the MethodObject’s TaggedValues array
SetTaggedValue
Adds a TaggedValue to the method'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.