IRunUnitGetInstance Method (Type, Boolean)

MicroFocus.COBOL.RuntimeServices
Given a Type object return the programs instance if the RunUnit knows about it and optionally creates it.

Namespace:  MicroFocus.COBOL.RuntimeServices
Assembly:  MicroFocus.COBOL.RuntimeServices (in MicroFocus.COBOL.RuntimeServices.dll) Version: 1.2.3.4
Syntax

IObjectControl GetInstance(
	Type programType,
	bool create
)

Parameters

programType
Type: SystemType
create
Type: SystemBoolean

Return Value

Type: IObjectControl
See Also

Reference