MetaData::Fetch()

Description

Fetch() is used to return the value of the specified metadata item.

Call Signature

string Fetch ( string item_name )

Return Value

string

An empty string is returned if the item is not found. If more than one matching item exist, only the value corresponding to one of the occurances is returned. To obtain other occurances, use the FetchNext() method.

Argument

string

item_name:

The name of the metadata item.

Remarks

As a convenient short-hand, dynamic field access allows metadata item values to be fetched directly.

Example

The following two statements are equivalent:


 val = mdata.Fetch( "Class_1" )
 val = mdata.Class_1

See also

MetaData class

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