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
GetVariables ( )
GetVariables ( 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 variables must have. See Progress.Reflect.Flags enumeration for more information.
Notes
- GetVariables( ) only returns public, non-static variables. GetVariables(flags) returns all ABL class variables based on the flags specified. However, you can only get or set variables according to the same rules as when reflection is not used. For example, you can only get or set a protected variable from within the class that defines it, or from a subclass.
- This method does not return .NET class fields defined as private or internal.