RunUnitIsCOBOLProgram Method

MicroFocus.COBOL.RuntimeServices
Given a Class object return true if the Class contains anything that is CALLable.

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

public bool IsCOBOLProgram(
	Type programType
)

Parameters

programType
Type: SystemType

Return Value

Type: Boolean

Implements

IRunUnitIsCOBOLProgram(Type)
Examples

bool isProgram1TypeCOBOL = myRunUnit.IsCOBOLProgram(typeof(Program1));
bool isAStringTypeCOBOL = myRunUnit.IsCOBOLProgram(typeof(System.String));
See Also

Reference