Telerik® JustMock™ by Progress

Calls the specified method.

Namespace: Telerik.JustMock
Assembly: Telerik.JustMock (in Telerik.JustMock.dll) Version: 2013.3.1021.0 (2013.3.1021.0)

Syntax

C#
public Object CallMethod(
	MethodBase method,
	params Object[] args
)
Visual Basic
Public Function CallMethod ( _
	method As MethodBase, _
	ParamArray args As Object() _
) As Object

Parameters

method
Type: System.Reflection..::..MethodBase
The method to call.
args
Type: array<System..::..Object>[]()[][]
Arguments to pass to the method.

Return Value

Return value of the method.

See Also