To More Generic Class

Typecasts a reference to a more generic class in the inheritance hierarchy.

target class is the the class to which you want to upcast reference.
reference is the control reference to upcast.
generic class reference is the upcasted control reference. If an error occurs, generic class reference is Not A Refnum.