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)
Syntaxpublic Object? Evaluate(
string name,
params Object?[]? args
)
Public Function Evaluate (
name As String,
ParamArray args As Object()
) As Object
public:
virtual Object^ Evaluate(
String^ name,
... array<Object^>^ args
) sealed
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.
Implements
IModuleEvaluate(String, Object)
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