Run VB.NET code
Run VB.NET statements (the body of a function that gets args and returns a value); compiled by the .NET Framework on Windows.
Command in the .NET, Java and COM toolkit · id ooa.dotnet/run_vbnet · 7 inputs (1 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Code | String | Yes | VB.NET statements; args is an IDictionary(Of String, Object) of the arguments; Return a value. | |
| Arguments | Dictionary | No | Values the code reads as args("name"). | |
| Imports | String | No | Extra namespaces, one per line. | |
| Members | String | No | Other functions or fields of the same module. | |
| References | List | No | Assemblies the code needs beyond the usual ones: names or DLL paths. | |
| Timeout (seconds) | Number | No | 120 | Stop the call after this many seconds. |
| Fail on error | Boolean | No | true | Fail the step when the code throws; when off, the error goes to 'error' and the run goes on. |
Outputs
| Output | Type | What it is |
|---|---|---|
| result | Any | What the code returns (text, numbers, true/false, lists and dictionaries; other objects as text). |
| output | String | What the code wrote with Console.WriteLine. |
| error | String | The exception, when fail on error is off. |