Telerik® JustMock™ by Progress

Calls the specified method by name.

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

Syntax

C#
public Object CallMethod(
	string name,
	params Object[] args
)
Visual Basic
Public Function CallMethod ( _
	name As String, _
	ParamArray args As Object() _
) As Object

Parameters

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

Return Value

The value returned by the specified method.

See Also