ParameterInfo.IsByref

From Xojo Documentation

Property (As Boolean )
aParameterInfo.IsByref = newBooleanValue
or
BooleanValue = aParameterInfo.IsByref

Supported for all project types and targets.

True if the parameter is passed Byref.

Example

This example reports on whether the parameter is passed Byref.

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