Gets the contents of the specified environment variable
Namespace:
MicroFocus.COBOL.RuntimeServices
Assembly:
MicroFocus.COBOL.RuntimeServices (in MicroFocus.COBOL.RuntimeServices.dll) Version: 1.2.3.4
public string GetEnvironmentVariable(
string name
)
Public Function GetEnvironmentVariable (
name As String
) As String
public:
virtual String^ GetEnvironmentVariable(
String^ name
) sealed
abstract GetEnvironmentVariable :
name : string -> string
override GetEnvironmentVariable :
name : string -> string
Parameters
- name
- Type: SystemString
Return Value
Type:
StringImplements
IRunUnitGetEnvironmentVariable(String)
NOTE: the environment variables in the process remain unaffected.
myRunUnit.GetEnvironmentVariable("DD_MYFILE");
myRunUnit.GetEnvironmentVariable("DD_MYFILE")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
Reference