GetVariable( ) method
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Returns a Progress.Reflect.Variable instance describing the class variable that matches the specified conditions. If there is no matching variable, the method returns the Unknown value (?).
Return type: Progress.Reflect.Variable class
Access: PUBLIC
Applies to: Progress.Lang.Class class
Syntax
|
- variable-name
- A CHARACTER expression that evaluates to the name of the variable.
- flags
- A
Progress.Reflect.Flagsinstance indicating the access mode(s), scope(s), and/or class level(s) the returned variable must have. See Progress.Reflect.Flags enumeration for more information.
Notes
GetVariable(variable-name)only returns public, non-static variables.GetVariable(variable-name, flags)returns all ABL class variables based on the flags specified.- This method does not return .NET class fields defined as private.