Assembly: Metabase;
Namespace: Prognoz.Platform.Interop.Metabase;
The IMetabaseCodeBlock interface is used to dynamically execute Fore code block.
IMetabaseCodeBlock
To create an object which is used to dynamically execute Fore code block, use the IMetabase.CreateCodeBlock method.
| Property name | Brief description | |
| ErrorMessage | The ErrorMessage property returns a message about a mistake of a compiler. | |
| Line | The Line property returns line number in block of code in which an error was indicated during check. | |
| Position | The Position property returns character number in block of code in which an error was indicated during check. | |
| References | The References property determines connected modules (assemblies) where necessary interfaces are stored. | |
| Text | The Text property determines text of block of code on Fore. | |
| Valid | The Valid property returns True if syntax check succeeded. |
| Method name | Brief description | |
| Execute | The Execute method executes a block of code on Fore and returns the result of execution. |
See also: