Description
Remove() is used to remove the specified metadata item/value pairs from the MetaData object.
Call Signature
Remove ( string item_name [, string item_value [, int case_sensitivity_flag ] ] )
Arguments
string item_name:
A regular expression specifying the name(s) of the item(s) to remove. Can be NULL to specify all "*".
[ string item_value ]:
If this argument is present, this is a regular expression specifying the value(s) of the item(s) to remove. Use NULL to specify all "*".
[ int case_sensitivity_flag ]:
If this argument is present, it is used to indicate the case sensitiviy of comparisons. A value of 1 indicates case should be considered, 0 indicates case should be ignored. If missing the default is 0 (ignore case).
Remarks
Regular expressions are supported and are specified using the '?' to represent single characters, and '*' to represent groups of characters.
Example
call mdata.Remove( "Class_1" ) call mdata.Remove( "Class_*" ) call mdata.Remove( "*","Water" )
See also
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.