Item method: MethodInfo collection

Syntax

Item(number)

Description

The Item method returns a MethodInfo object that exists at the number position in the MethodInfo collection executing the method.

Parameters

Parameter Description

number

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

Returns

A reference to a MethodInfo object or NULL.

Example

For &K = 0 To &METHODS.Count - 1
   &METHOD = &METHODS.item(&K);
   &OutTEXT = "             " | &METHOD.name | ":  " | &METHOD.Type;
   &MYFILE.WriteLine(&OutTEXT);
End-For;