GetTagText Method
The GetTagText method 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.
The method searches inherited tags if the tag name is supplied, and 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 method object containing that tag and returned byref.
This method has the following syntax:
varchar(maxsize) = MethodObject.GetTagText(tag = varchar(256) |
row = integer
[, classname=Byref(varchar(32))]
[, property = Byref(MethodObject)])
This method has the following variable and parameters:
MethodObject
Specifies the method object
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).
property
Specifies the property. If provided as a byref variable, it is set to the MethodObject to which the identified TaggedValue belongs.
This method returns a string containing the text of the TaggedValue, or an empty string if the entry for this tag or index is not present. The returned value is truncated if necessary to the declared size of the variable to which it is returned. The method returns an empty string if the entry for this tag or index is not present.