Item method: Query Metadata collection

Syntax

Item(number)

Description

The Item method returns the Query Metadata object that exists at the number position in the Query Metadata collection.

Parameters

Parameter Description

number

Specify the position number in the collection of the Query Metadata object that you want returned.

Returns

A reference to a Query Metadata object if successful, NULL otherwise.

Example

For &I = 1 to &MetadataColl.Count; 
   &MyMetadata = &MetadataColl.Item(&I); 
   /* do processing */ 
End-For;