Was this helpful?
GetTagValue Method
The GetTagValue method returns a StringObject containing the text value associated with the supplied tag name or row number.
If it is a ClassSource (see ClassSource Class) and the specified tag name is not found in the local array, the method will search the corresponding TaggedValues array in superclasses for the first instance of the tag; the name of the superclass is returned in the classname parameter. In all other circumstances only the local TaggedValues array is searched.
This method has the following syntax:
StringObject = CompSource.GetTagValue(tag = varchar(256) |
          row = integer
          [, classname=Byref(varchar(32))])
This method has the following variable and parameters:
CompSource
Specifies the frame, procedure, or user class
tag
(Either this parameter or row is required.) Specifies the name of the tag in the TaggedValues array.
row
(Either this parameter or tag is required.) Specifies the row number in the TaggedValues array.
classname
Specifies the name of the class Byref. If the object calling this method is a ClassSource, this string is set to the class name of the ClassSource to which the identified TaggedValue actually belongs (this may be a superclass of the caller).
This method returns a StringObject, or NULL if the entry for this tag or index is not present.
Last modified date: 06/25/2024