ParameterInfo.ParameterType

From Xojo Documentation

Property (As TypeInfo )
aParameterInfo.ParameterType = newTypeInfoValue
or
TypeInfoValue = aParameterInfo.ParameterType

Supported for all project types and targets.

Contains the parameter’s datatype.

Example

The following reports the data types of the parameters for all methods of a class instance that have parameters.

Var tcp As New TCPSocket
Var myMethods() As Introspection.MethodInfo = _
Introspection.GetType(tcp).GetMethods
For Each method As Introspectin.MethodInfo In myMethods
Var myParameters() As Introspection.ParameterInfo = method.GetParameters
If myParameters.LastRowIndex > 0 Then // if a method has any parameters
For j As Integer = 1 To myParameters.LastRowIndex // loop over the parameters
ListBox1.AddRow(method.Name)
ListBox1.CellValueAt(ListBox1.LastAddedRowIndex, 1) = myParameters(j - 1).ParameterType.Name
Next
End If
Next