ReflectionService.CallMethod

Invokes the specified method of the specified object.

public static object CallMethod(object toObject,
	string tcMethod,
	Object[] toParams);

Return Value

The return value of the COM method.

Parameters

toObject
The object whose method is invoked.

tcMethod
The method name.

toParams
Parameters passed to the method or null to pass no parameters.


See also:

Class ReflectionService

© Stonefield Software Inc., 2024 • Updated: 06/06/16
Comment or report problem with topic