ScriptHelper.CallMethod

Calls a method on an object dynamically. This version requires explicit specification of the parameter type signatures.

public object CallMethod(object instance, string method, 
			Type[] parameterTypes, object[] parms)

Parameters

instance
Instance of object to call method on

method
The method to call as a stringToTypedValue

parameterTypes
Specify each of the types for each parameter passed. You can also pass null, but you may get errors for ambiguous methods signatures when null parameters are passed

parms
any variable number of parameters.

Overloads