MethodInfo.ReturnType

From Xojo Documentation

Property (As TypeInfo )
aMethodInfo.ReturnType = newTypeInfoValue
or
TypeInfoValue = aMethodInfo.ReturnType

Supported for all project types and targets.

If the method returns a value, this is the datatype of the returned value. If the method does not return a value, ReturnType is Nil.