GetTagValue Method
The GetTagValue method 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.
The method searches inherited tags if the tag name is supplied, or local tags if only the row number is supplied.
If the first occurrence is in a superclass, the classname parameter is set to the name of that class and returned byref, and the property parameter is set to the MethodObject containing that tag and returned byref.
This method has the following syntax:
StringObject = MethodObject.GetTagValue(tag = varchar(256) | row = integer
[, classname = Byref(varchar(32))]
[, property = Byref(MethodObject)])
This method has the following parameters:
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 classname. If classname is provided as a byref string, this string will be set to the classname of the ClassSource to which the MethodObject owning the identified TaggedValue actually belongs (this may be a superclass of the caller’s userclass).
property
Specifies the property. If provided as a byref variable, this will be set to the MethodObject to which the identified TaggedValue belongs.
This method returns a StringObject, or NULL if the entry for this tag or index is not present.