MethodInfo Collection Methods
This section discusses the MethodInfo collection methods in alphabetical order.
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;
Syntax
ItemByName(name)
Description
The ItemByName method returns the item specified by name. Name is not case-sensitive.
Parameters
Parameter  | 
Description  | 
|---|---|
name  | 
 Specify the name of the MethodInfo object that you want returned. This parameter takes a string value.  | 
Returns
A reference to a MethodInfo object or NULL.
Example
&METHOD = &METHODS.ItemByName("Save");