MetaData::Add()

Description

Add() is used to add a new metadata item/value pair to the MetaData object.

Call Signature

Add ( 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, new items can also be added using dynamic field access.

Example

The following two statements are equivalent:


 call mdata.Add( "Class_9", "Ice" )
 mdata.Class_9 = "Ice"

See also

MetaData class

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