Class EnvironmentVariable
Definition
- Assembly:
- Tizen.NUI.dll
EnvironmentVariable
public static class EnvironmentVariable
- Inheritance
-
objectEnvironmentVariable
Methods
View SourceGetEnvironmentVariable(string)
Get value of the specified environment variable.
Declaration
public static string GetEnvironmentVariable(string variable)
Parameters
Type | Name | Description |
---|---|---|
string | variable | The name of the environment variable. |
Returns
Type | Description |
---|---|
string | The value of the specified environment variable. |
SetEnvironmentVariable(string, string)
Set value of the specified environment variable.
Declaration
public static bool SetEnvironmentVariable(string variable, string value)
Parameters
Type | Name | Description |
---|---|---|
string | variable | The name of the environment variable. |
string | value | String to set as a value. |
Returns
Type | Description |
---|---|
bool | True on success, false on error. |