GetVariables( ) method
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Returns an array of Progress.Reflect.Variable instances describing the class variables that match the specified conditions. There is no guaranteed order for the returned variables. If there are no variables that match the specified conditions, the method returns an indeterminate array.
Return type: Progress.Reflect.Variable class EXTENT
Access: PUBLIC
Applies to: Progress.Lang.Class class
Syntax
|
|
- flags
- A
Progress.Reflect.Flagsinstance indicating the access mode(s), scope(s), and/or class level(s) the returned variables must have. See Progress.Reflect.Flags enumeration for more information.
GetVariables() only returns public, non-static
variables. GetVariables(flags) returns all ABL class variables based on the flags specified. Example
The myclass class has the following variable definition:
|
The following example code calls
GetVariables() and
GetVariables(flags) to return information on the
variables in myclass:
|
Notes
- This method does not return .NET class fields defined as private or internal.