The IRunUnit type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Add |
Adds a new instance of a Procedural COBOL program or Object COBOL Class to the session.
|
![]() | Call(String) |
Executes a program in the new run-unit with no parameters
|
![]() | Call(String,Object[]) |
Executes a program in the new run-unit with parameters
|
![]() | CallObject |
Executes a program in the new run-unit with parameters returning an obect
|
![]() | Cancel |
CANCEL's a program from the rununit
|
![]() | ContainsUserData | Checks if a name is bound to this rununit |
![]() | GetBytes |
Gets a string that matches the charset of the program using an index/count
|
![]() | GetBytesCount |
Gets the length/size of a byte[] for a string in the charset of program
|
![]() | GetEnvironmentVariable |
Gets the contents of the specified environment variable
|
![]() | GetInstance(Type) |
Given a Type object return the programs instance if the RunUnit knows about it.
|
![]() | GetInstance(Type, Boolean) |
Given a Type object return the programs instance if the RunUnit knows about it and optionally creates it.
|
![]() | GetString(Object,Byte[]) |
Gets a string that matches the charset of the program
|
![]() | GetString(Object,Byte[], Int32, Int32) |
Gets a string that matches the charset of the program using an index/count
|
![]() | GetUserData | Returns the object bound with the specific name to the rununit |
![]() | IsCOBOLProgram |
Given a Class object return true if the Class contains anything that is CALLable.
|
![]() | SetEnvironmentVariable |
Sets the contents of specified environment variable to the value given.
|
![]() | SetUserData | Binds an object to this rununit using the name specified |
![]() | StopRun() |
Terminates the Run Unit
|
![]() | StopRun(Int32) |
Terminates the Run Unit using the supplied return code value
|
See Also