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) returns all ABL class methods based on the flags specified. However, you can only invoke methods according to the same rules as when reflection is not used. For example, you can only invoke a protected method from within the class that defines it, or from a subclass.
- This method does not return .NET class methods defined as private or internal.