IsA( ) method
Returns a LOGICAL value indicating if the class type name expression or Progress.Lang.Class object passed to the method is within the class hierarchy of the Progress.Lang.Class type or implements an interface identified by the Progress.Lang.Class type. The IsA( ) method supports the reflection capabilities of the Progress.Lang.Class class.
Return type: LOGICAL
Access: PUBLIC
Applies to: Progress.Lang.Class class
object-reference
class-type-name
In this example, the IsA( ) method is used to determine if the "
Bar
" class object is within the hierarchy of the "Customer
" class. Note that either the object reference (custType
) or the class type name ("Customer
") can be passed to the method.
OpenEdge Release 10.2B
|