Reflection and parameters

  • Thread starter Thread starter rob thomson
  • Start date Start date
R

rob thomson

I need to call different functions on classes eg
MyFunction(param1 as boolean, param2 as string) as datatable
MyFunction2(param1 as date, param2 as int64) as datatable

using reflection, I can load the object by name but dont know how to call the function using the parameters.

Can anyone help me with this


TIA
 
Rob

Look at the CallByName function

Stephen

I need to call different functions on classes eg
MyFunction(param1 as boolean, param2 as string) as datatable
MyFunction2(param1 as date, param2 as int64) as datatable

using reflection, I can load the object by name but dont know how to call
the function using the parameters.

Can anyone help me with this


TIA
 
Back
Top