Evaluates a
Module's public function (or property get) and return a result.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
SyntaxObject Evaluate(
string name,
params Object[] args
)
Function Evaluate (
name As String,
ParamArray args As Object()
) As Object
Object^ Evaluate(
String^ name,
... array<Object^>^ args
)
Parameters
- name String
-
Evaluate the 'name' function (or property get).
- args Object
-
These argument values are passed by value to the function (or property get).
Use EvaluatePA to pass values by reference.
Named arguments are allowed.
Return Value
Object
The value of the function or property.
ExceptionsException | Condition |
---|
Exception | Generic exception during script execution. |
Remarks
This method doesn't return until the function has completed.
If it fails to complete it is terminated and an exception is thrown.
Use
Error.FromException to get the error associated with the exception.
See Also