Sets (or creates if not declared), an environment variable to the specified value. You could use that method to set variable in application process that could be later read by other application started from application process or from other application window. In that case you would use mdm.Application.getEnvVar(...) to read that variable value.

Notes

This command will not set a system wide environment variable. Environment variables set using this methods can only be retrieved from the application.

Example Code

//Sets an environmental variable called 'myEnvVar' with the value "Zinc":
mdm.Application.setEnvVar("myEnvVar", "Zinc");

mdm.Application Class Example Downloads

No Example Downloads Available

Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here