IObjectCallMethodT Method (String, Object) |
Invokes the specified method and returns the result.
Namespace:
SmartBear.TestLeft.TestObjects
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax T CallMethod<T>(
string name,
params Object[] parameters
)
Function CallMethod(Of T) (
name As String,
ParamArray parameters As Object()
) As T
Dim instance As IObject
Dim name As String
Dim parameters As Object()
Dim returnValue As T
returnValue = instance.CallMethod(name,
parameters)
generic<typename T>
T CallMethod(
String^ name,
... array<Object^>^ parameters
)
Parameters
- name
- Type: SystemString
The method name. - parameters
- Type: SystemObject
An array of method parameters.
Type Parameters
- T
- The type of the object that will be returned.
Return Value
Type:
TThe result returned by the method and converted to a value of the
T type.
Exceptions See Also