Try OpenEdge Now
skip to main content
ABL Reference
Class Properties and Methods Reference : GetMethods( ) method
 

GetMethods( ) method

Returns an array of Progress.Reflect.Method instances describing the class methods that match the specified conditions. There is no guaranteed order for the returned methods. If there are no methods that match the specified conditions, the method returns an indeterminate array.
Return type: Progress.Reflect.Method class EXTENT
Access: PUBLIC
Applies to: Progress.Lang.Class class

Syntax

GetMethods ( )

GetMethods ( INPUT flags AS Progress.Reflect.Flags )
flags
A Progress.Reflect.Flags instance indicating the access mode(s), scope(s), and/or class level(s) the returned method must have. See Progress.Reflect.Flags enumeration for more information.

Notes

*If there are one or more overrides of any particular method, the Progress.Reflect.Method instance describes the override from the most derived subclass that overrides that method. You will NOT get multiple entries for overridden methods. See GetMethod( ) method for more information on how overridden methods are handled.
*GetMethods( ) only returns public, non-static methods. GetMethods(flags) does return ABL class methods defined as protected, private, and/or static if they satisfy the specified conditions, but you cannot invoke any protected or private methods returned. Only private methods that are defined in the given class are returned; private methods inherited from a super class are not included.
*This method does not return .NET class methods defined as private or internal.