MetaData::Set()

Description

Set() is used to change the value of a metadata item.

Call Signature

Set ( string item_name, string item_value )

Arguments

string item_name:

The name of the metadata item to add.

string item_value:

The value of the metadata item to add.

Remarks

As a convenient short-hand, items can also be modified using dynamic field access.

Example

The following two statements are equivalent:


 call mdata.Set( "Class_1", "Water" )
 mdata.Class_1 = "Water"

See also

MetaData class

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.