Was this helpful?
RemoveTaggedValue Method
The RemoveTaggedValue method removes a tagged value identified by its index or tag name from the MethodObject’s TaggedValues array.
Note:  Using this method will not remove an inherited tag, but may instead expose it. Removing a tag that already exists in the same-named method in a subclass will not affect that subclass.
To remove an inherited tag, use FindTag Method to get the classname of the tag's owner, then access that ClassSource (using AppSource.FetchComponent (see FetchComponent Method)), access the relevant MethodObject (in ClassSource.Methods (see Methods Attribute)) and issue RemoveTaggedValue for that MethodObject.
This method has the following syntax:
status = MethodObject.RemoveTaggedValue(tag = varchar(256) | row = integer)
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.
This method returns TV_OK if successful, TV_FAIL otherwise.
Last modified date: 12/20/2023