Language Reference Guide : System Classes : FieldObject Class : GetTaggedValues Method
 
Share this page          
GetTaggedValues Method
The GetTaggedValues method returns an array of all the TaggedValues that either have this tag or whose tags begin with the tag plus delimiter in the TaggedValues array of this field.
This method has the following syntax:
array of TaggedValue = FieldObject.GetTaggedValues([tag = varchar(256)
          [, delimiter = varchar(256)]])
Note:  If no parameters are supplied, an array of all the FieldObject's local and inherited tags is returned. If no delimiter is supplied, the delimiter defaults to "."
This method has the following parameters:
tag
Specifies the name of the tag in the TaggedValues array
delimiter
Specifies the delimiter that follows the specified tag. If no delimiter is supplied, the default is a period (".").
For example, parameters tag="test" and delimiter=":" will match the following TaggedValue tags:
"test"
"test:"
"test:one"
They will not match these tags:
"testone"
"tes"
"text:one"
This method returns an array of TaggedValue.