IRunUnitProgramOrClassGetAnotherProgramOrClass Method (Type, Boolean)

MicroFocus.COBOL.RuntimeServices
Gets an instance of a program or class

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

AnotherProgramOrClass Get<AnotherProgramOrClass>(
	Type programType,
	bool create = false
)
where AnotherProgramOrClass : IObjectControl

Parameters

programType
Type: SystemType
create (Optional)
Type: SystemBoolean

Type Parameters

AnotherProgramOrClass

Return Value

Type: AnotherProgramOrClass
See Also

Reference